Skip to main content

TdxPDFPageTextPosition.Create(Integer,Integer) Method

Creates a text position on a PDF document page.

Declaration

class function Create(AWordIndex: Integer; AOffset: Integer): TdxPDFPageTextPosition; static;

Parameters

Name Type
AWordIndex Integer
AOffset Integer

Returns

Type
TdxPDFPageTextPosition

Remarks

This class function returns a TdxPDFPageTextPosition record whose WordIndex and Offset fields are initialized with the values passed as the AWordIndex and AOffset parameters, respectively. The Create function returns an invalid text range if either of the parameters is negative.

See Also