wordApplication.ScreenUpdating = false; WordInterop.WdAlertLevel displayAlertLevel = wordApplication.DisplayAlerts; wordApplication.DisplayAlerts = WordInterop.WdAlertLevel.wdAlertsNone; WordInterop.Document wordDocument = wordApplication.Documents.Open(filename); bool result = false; WordInterop.Range range = wordDocument.Paragraphs[paragraph].Range; WordInterop.Paragraph wdParagraph = wordDocument.Paragraphs[paragraph]; var abc = wordDocument.Paragraphs[paragraph].Format.TabStops; foreach(WordInterop.TabStops t in abc) { t.position;// i'm not getting the position of a tabstop if(t.position == 1.5) result = true; } wordDocument.Close(); return result;
foreach(WordInterop.TabStops t in abc)
foreach(WordInterop.TabStop t in abc)
TabStop
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)