Skip to main content

TdxPDFPageTextRange.IsValid Method

Identifies if the text range on a PDF document page is valid.

Declaration

function IsValid: Boolean;

Returns

Type
Boolean

Remarks

This function returns True if the text range is empty or corresponds to a portion of text within a PDF document. The IsValid function returns False if at least one of the range positions is invalid or the PageIndex field stores an invalid (i.e., negative) page index.

See Also