LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property Value

The type of anti-aliasing to use.

Value Meaning
1 Do not use font anti-aliasing.
2 Use 2-bit font anti-aliasing.
4 Use 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also