PDFTextAlpha property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int PDFTextAlpha;

Delphi Syntax

PDFTextAlpha: integer;

Overview

Refer to Implementing PDF Plug in Features.

Remarks

(Published property, available at design time) Sets the flag that indicates what type of font anti-aliasing that LEADTOOLS uses when loading PDF, PS or EPS files.

Value

Meaning

1

Do not use font anti-aliasing.

2

Use 2-bit font anti-aliasing.

4

Use 4-bit font anti-aliasing.

The default setting is 4.

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. Shading the pixels along the borders of the affected lines does this.

Font anti-aliasing slows down the drawing of the resulting bitmap.

Font anti-aliasing can only be used if PDFDisplayDepth property is set to 8 or greater.

See Also

Elements:

PDFXResolution property, PDFYResolution property, PDFDisplayDepth property, PDFGraphicsAlpha property, PDFUseLibFonts property, PDFInitDir property

Topics:

Raster Images: Loading Files