Converts centimeters to twips. A twip is 1/567 of a centimeter.

 public int FromCentimeters(double cm)
Public Function FromCentimeters(ByVal cm As Double) As Integer

The number of centimeters to convert.

The result of the conversion (twips).


          WordApplication wwApp = new WordApplication();
          Document doc = wwApp.Create();
          Section section = doc.CreateSectionAfter();
          section.PageWidth = TwipsConverter.FromCentimeters(21.59);
          section.PageHeight = TwipsConverter.FromCentimeters(27.94);
        

          Dim wwApp As New WordApplication()
          Dim doc As Document = wwApp.Create()
          Dim section As Section= doc.CreateSectionAfter()
          section.PageWidth = TwipsConverter.FromCentimeters(21.59)
          section.PageHeight = TwipsConverter.FromCentimeters(27.94)