←Select platform

GraphicsAlpha Property

Summary

Gets or sets a value that indicate the type of graphics anti-aliasing to use.

Syntax
C#
VB
Objective-C
C++
Java
public int GraphicsAlpha { get; set; } 
Public Property GraphicsAlpha As Integer 
@property (nonatomic, assign) NSInteger graphicsAlpha 
public int getGraphicsAlpha() 
public void setGraphicsAlpha(int value) 
public: 
property int GraphicsAlpha { 
   int get(); 
   void set (    int ); 
} 

Property Value

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

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

Remarks

The value of this property is used only when Leadtools.Pdf.Utilities.dll is used by the application. For more information, refer to Implementing PDF 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. This is done by shading the pixels along the borders of the affected lines.

This option affect pdf format when UsePdfEngine is set to true to use Leadtools.Pdf.Utilities.dll, it still affects Postscript format.

Example

For an example, refer to CodecsPdfOptions.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly