Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > TwipsConverter > ToCentimeters

ToCentimeters Method



Signature:

public double ToCentimeters ( int twips )

Description:

Converts twips to centimeters. A twip is 1/1440 of an inch and 1/567 of a centimeter.

Parameters:

twips     The number of twips to convert to centimeters.

Returns:

double The result of the conversion (centimeters).

Example:

[csharp]
TwipsConverter.toCentimeters(12240);



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.