Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerDiagnostics Class : ShowTextCharacters Property |
[DescriptionAttribute("Show the page text characters")] [CategoryAttribute("Diagnostics")] [DefaultValueAttribute()] public bool ShowTextCharacters {get; set;}
'Declaration
<DescriptionAttribute("Show the page text characters")> <CategoryAttribute("Diagnostics")> <DefaultValueAttribute()> Public Property ShowTextCharacters As Boolean
'Usage
Dim instance As DocumentViewerDiagnostics Dim value As Boolean instance.ShowTextCharacters = value value = instance.ShowTextCharacters
[DescriptionAttribute("Show the page text characters")] [CategoryAttribute("Diagnostics")] [DefaultValueAttribute()] public: property bool ShowTextCharacters { bool get(); void set ( bool value); }
Set the value of ShowTextCharacters is true to force the view to highlight the bounds of all text characters in the page (DocumentPage.GetText. DocumentViewerSelectTextInteractiveMode allows the user to select text on the change using the mouse or touch. Setting ShowTextCharacters to true can help diagnose problems when the text location and size do not match what is viewed due to parsing errors.
When ShowTextCharacters is true, the bounding rectangle of each character will be highlighted and the character code will be rendered on the surface of ImageViewer.