www.gnostice.com 

 

MeasurementUnit property (TgtCustomDocumentEngine)

TgtCustomDocumentEngine

Top 

 

property MeasurementUnit: TgtUnitType;

 

Description

Use this property to set the measurement unit of the document. It can be anyone of muPixels, muInches, muMM, muPoints or muTwips.By default it is muInches.

 

Once this property is set, any measurements like page width, page height etc. will be in this unit.

 

Example:

 

Delphi:

       gtPDFEngine1.MeasurementUnit := muPixels;

 

C++Builder:

       gtPDFEngine1->MeasurementUnit = muPixels;