VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfPageJS type / getTextBlocks Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
getTextBlocks Method
In This Topic
Returns all text blocks, which are located on this PDF page.
Syntax
var instance = new Vintasoft.Imaging.Pdf.WebPdfPageJS(pdfDocument, pageIndex);

var value; // Type: Vintasoft.Imaging.Pdf.WebContentImageJS[]
value = instance.getTextBlocks();

Return Value

Array of WebPdfTextBlockJS objects that defines all text blocks, which are located on this PDF page.
Exceptions
ExceptionDescription
Thrown if class does NOT have information about text blocks.
Remarks

Before calling this function you must call the "requestTextBlocks" function for getting information about text blocks.
Call the "isTextBlocksReceived" function if you want to determine that class already received information about text blocks.

Browser Compatibility
56+
45+
11
See Also