CreatePDFTextElement

Top  Previous  Next

[This method is new in  version 2.04 of Gnostice PDFtoolkit ActiveX/. NET]

 

The CreatePDFTextElement creates and returns an instance of type gtPDFTextElementX.

 

Syntax

 

 

[VC++]

CgtPDFTextElementX CreatePDFTextElement();

 

[CS]

public abstract new gtPDFTextElementX CreatePDFTextElement (  )

 

[VB]

Function CreatePDFTextElement() As gtPDFTextElementX

 

 

Return value

 

Returns the object of class gtPDFTextElementX.

 

 

Remarks

 

The gtPDFTextElementX object returned by this function is passed to SearchFirst, SearchFirstOnPage, SearchNext and SearchNextOnPage as "TextElement" parameter. If these functions are successful, then the TextElement will contain the searched text string along with other properties.