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 inches.  A twip is 1/1440 of an inch.

...

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

...

The number of twips to convert to inches.

Returns

The result of the conversion (inches).

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

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