I am rewriting a Word template in .Net.
Most of the conversion has gone fine, but I cant figure out one thing.
Does anyone know what "InchesToPoints" is now.
The piece of code that I am using it in is:
wdApp.ActiveDocument.DefaultTabStop = InchesToPoints(0.5)
objWordDoc.Selection.ParagraphFormat.TabStops.Add(Position:=InchesToPoints(0.13), _
Alignment:=Word.WdTabAlignment.wdAlignTabLeft, Leader:=wdTabLeaderSpaces)
.Net hates the InchesToPoints.
Also you used to be able to toggle fonts using wdtoggle but that seems to be gone now. Is there a replacement?
Thanks
Most of the conversion has gone fine, but I cant figure out one thing.
Does anyone know what "InchesToPoints" is now.
The piece of code that I am using it in is:
wdApp.ActiveDocument.DefaultTabStop = InchesToPoints(0.5)
objWordDoc.Selection.ParagraphFormat.TabStops.Add(Position:=InchesToPoints(0.13), _
Alignment:=Word.WdTabAlignment.wdAlignTabLeft, Leader:=wdTabLeaderSpaces)
.Net hates the InchesToPoints.
Also you used to be able to toggle fonts using wdtoggle but that seems to be gone now. Is there a replacement?
Thanks