ImageGear .NET - Updated
UseUnicodeText Property




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecPDFOutputOptions Class : UseUnicodeText Property
Gets or sets a value indicating whether text will be added to the PDF as multi-byte Unicode values or encoded using the default Windows codepage.
Syntax
'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;}
public: __property bool get_UseUnicodeText();
public: __property void set_UseUnicodeText( 
   bool value
);
public:
property bool UseUnicodeText {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks

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.

See Also

Reference

ImGearRecPDFOutputOptions Class
ImGearRecPDFOutputOptions Members