Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Converts twips to centimeters.  A twip is 1/1440 of an inch and 1/567 of a centimeter.

...

Signature
C#C#
{excerpt}
{signature:C#}
 public double ToCentimeters(int twips)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function ToCentimeters(ByVal twips As Integer) As Double
Parameters

...

The number of twips to convert to centimeters.

Returns

The result of the conversion (centimeters).

{signature}
{parameters}
{param:twips}The number of twips to convert to centimeters.{param}
{returns}The result of the conversion \(centimeters\).{returns}
{example}{code:csharp|title=C#}
TwipsConverter.ToCentimeters(12240);
{code}
{code:vb.net
|title=vb.net
}
TwipsConverter.ToCentimeters(12240){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle