Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TextAlpha Property
See Also 
Leadtools.Codecs Namespace > CodecsPdfLoadOptions Class : TextAlpha Property



Gets or sets the type of font anti-aliasing to use.

Syntax

Visual Basic (Declaration) 
Public Property TextAlpha As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsPdfLoadOptions
Dim value As Integer
 
instance.TextAlpha = value
 
value = instance.TextAlpha
C# 
public int TextAlpha {get; set;}
C++/CLI 
public:
property int TextAlpha {
   int get();
   void set (int value);
}

Return Value

The type of anti-aliasing to use.

ValueMeaning
1Do not use font anti-aliasing.
2Use 2-bit font anti-aliasing.
4Use 4-bit font anti-aliasing.

Example

For an example, refer to CodecsPdfOptions.

Remarks

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. This is done by shading the pixels along the borders of the affected lines.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also