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

...

Description

Excerpt

Converts twips to centimeters. A twip is 1/1440

...

of

...

an

...

inch

...

and

...

1/567

...

of

...

a

...

centimeter.

...

Signature
C#
C#
 public double ToCentimeters(int twips)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function ToCentimeters(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 \(centimeters\).{returns}
{example}{code:csharp|title=C#}
Parameters
Param
twips
twips

The number of twips to convert to centimeters.

Returns

The result of the conversion (centimeters).

Example
Code Block
csharp
csharp
titleC#

TwipsConverter.ToCentimeters(12240);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

TwipsConverter.ToCentimeters(12240)
{code} {example}