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 points. A twip is 1/1440

...

of

...

an

...

inch

...

and

...

a

...

point

...

is

...

1/72

...

of

...

an

...

inch.

...

Signature
C#
C#
 public double ToPoints(int twips)
{signature}{signature:
}
Signature
vb.net
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#}
Parameters
Param
twips
twips

The number of twips to convert to centimeters.

Returns

The result of the conversion (points).

Example
Code Block
csharp
csharp
titleC#

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

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