ImageGear21.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPDFOutputOptions Class : UseUnicodeText Property |
'Declaration Public Property UseUnicodeText As Boolean
'Usage Dim instance As ImGearRecPDFOutputOptions Dim value As Boolean instance.UseUnicodeText = value value = instance.UseUnicodeText
public bool UseUnicodeText {get; set;}
If true, the Unicode text output from Recognition will be added to the PDF page that is created. If false, the Unicode text will first be encoded using the default Windows codepage, and then added to the new PDF page.
Generally, the best option is to write text to the PDF page using the default Windows code page. However, if Recognition results will include characters not support by the default code page, then writing Unicode text to the PDF page is a good option. Unicode text will provide the most flexibility when recognizing text in different languages. However, consideration must go into the PDF font selections specified in the FontSerif, FontSans and FontCourier properties because not all fonts support all languages.
The default value is false.