Twips are the units of measurement used by the WordWriter API. A single twip represents 1/1440 of an inch. TwipsConverter is a utility class that converts between twips and other units of measurement.

 public static class TwipsConverter
Public Shared Class TwipsConverter

          WordApplication wwApp = new WordApplication();
          Document doc = wwApp.Create();
          Section section = doc.CreateSectionAfter();
          section.PageWidth = TwipsConverter.FromInches(8.5);
          section.PageHeight = TwipsConverter.FromInches(11);
        

          Dim wwApp As New WordApplication()
          Dim doc As Document = wwApp.Create()
          Dim section As Section = doc.CreateSectionAfter()
          section.PageWidth = TwipsConverter.FromInches(8.5)
          section.PageHeight = TwipsConverter.FromInches(11)
        

Name

Description

FromCentimeters(Double)

FromInches(Double)

FromPoints(Double)

ToCentimeters(Int32)

ToInches(Int32)

ToPoints(Int32)