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



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

Syntax

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

Return Value

The type of anti-aliasing to use.

ValueMeaning
1Do not use graphics anti-aliasing.
2Use 2-bit graphics anti-aliasing.
4Use 4-bit graphics 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