GetTextMap(ViewState,Single,Single,Boolean) Method
In This Topic
Builds and returns a text map for the current page.
Note that the X/Y resolutions of pixels used by the text map's methods and properties are the X/Y resolutions passed to this method ( and ).
Note also that the current value of the RecognitionAlgorithm property affects the map that is created.
Syntax
'Declaration
Public Overloads Function GetTextMap( _
ByVal As ViewState, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single, _
Optional ByVal As System.Boolean _
) As ITextMap
public ITextMap GetTextMap(
ViewState ,
System.float ,
System.float ,
System.bool
)
Parameters
- viewState
- The GrapeCity.Documents.Pdf.Layers.ViewState object.
- dpiX
- The horizontal resolution of the map (the default is 72dpi).
- dpiY
- The vertical resolution of the map (the default is 72dpi).
- ignoreErrors
- Indicates whether to ignore errors in PDF content streams during rendering.
Return Value
An
GrapeCity.Documents.Pdf.TextMap.ITextMap object containing the page text map.
See Also