Rewriting template in .Net

kservice

Member
Joined
Jan 13, 2004
Messages
24
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
 
Back
Top