LEADTOOLS Image File Support (Leadtools.Codecs assembly)

GraphicsAlpha Property

Show in webframe







Gets or sets a value that indicate the type of graphics anti-aliasing to use.
Syntax
public int GraphicsAlpha {get; set;}
'Declaration
 
Public Property GraphicsAlpha As Integer
'Usage
 
Dim instance As CodecsPdfLoadOptions
Dim value As Integer
 
instance.GraphicsAlpha = value
 
value = instance.GraphicsAlpha
public int GraphicsAlpha {get; set;}
@property (nonatomic, assign) int graphicsAlpha;
public int getGraphicsAlpha()
public void setGraphicsAlpha(int value)
            
 
get_GraphicsAlpha();
set_GraphicsAlpha(value);
Object.defineProperty('GraphicsAlpha');
public:
property int GraphicsAlpha {
   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 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.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. 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.PdfEngine.dll, it still affects Postscript format.

Example
For an example, refer to CodecsPdfOptions.
Requirements

Target Platforms

See Also

Reference

CodecsPdfLoadOptions Class
CodecsPdfLoadOptions Members
Implementing PDF Plug in Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.