LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

TextAlpha Property






Gets or sets a value that indicate the type of font anti-aliasing to use. .NET support
Syntax
public int TextAlpha {get; set;}
'Declaration
 
Public Property TextAlpha As Integer
'Usage
 
Dim instance As CodecsPdfLoadOptions
Dim value As Integer
 
instance.TextAlpha = value
 
value = instance.TextAlpha
public int TextAlpha {get; set;}
 get_TextAlpha();
set_TextAlpha(value);
public:
property int TextAlpha {
   int get();
   void set (    int value);
}

Property Value

The type of anti-aliasing to use. Default value is 1.

Value Meaning
1 Do not use font anti-aliasing.
2 Use 2-bit font anti-aliasing.
4 Use 4-bit font anti-aliasing.
Remarks

The value of this property is used only when the Leadtools.PdfEngine.dll is used by the application. For more information, refer to Implementing PDF Plug in Features.

Aliasing is the effect on all pixel devices where diagonal and curved lines have a zigzag appearance. As pixels get larger, this effect becomes more noticeable. Anti-aliasing refers to methods designed to decrease or eliminate this effect. Anti-aliasing is done by shading the pixels along the borders of the affected lines.

This affects the PDF format when UsePdfEngine is set to true to use Leadtools.PdfEngine.dll. It also affects the Postscript format.

Example
For an example, refer to CodecsPdfOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsPdfLoadOptions Class
CodecsPdfLoadOptions Members
Implementing PDF Plug in Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.