Gets or sets a value that indicate the type of font anti-aliasing to use.
public int TextAlpha { get; set; }
Public Property TextAlpha As Integer
@property (nonatomic, assign) NSInteger textAlpha
public int getTextAlpha()
public void setTextAlpha(int value)
The type of anti-aliasing to use. Default value is 1.
Value | Meaning |
---|---|
1 | Do not use font anti-aliasing. |
2 | Use 2-bit font anti-aliasing. |
4 | Use 4-bit font anti-aliasing. |
The value of this property is used only when the Leadtools.PdfEngine.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. Anti-aliasing is done by shading the pixels along the borders of the affected lines.
This affects the PDF format when UsePdfEngine is set to true to use Leadtools.PdfEngine.dll. It also affects the Postscript format.
For an example, refer to CodecsPdfOptions.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET