Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Converts twips to points.  A twip is 1/1440 of an inch and a point is 1/72 of an inch.{excerpt}
{signature:C#}
 public double ToPoints(int twips)
{signature}{signature:vb.net}
Public Function ToPoints(ByVal twips As Integer) As Double
{signature}
{parameters}
{param:twips}The number of twips to convert to centimeters.{param}
{returns}The result of the conversion \(points\).{returns}
{example}{code:csharp|title=C#}
TwipsConverter.ToPoints(12240);{code}
{code:vb.net|title=vb.net}
TwipsConverter.ToPoints(12240){code}

{example}