PDFStringAppearanceOptions¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines various appearance options for displaying text on page graphics.
Inheritance Object → PDFStringAppearanceOptions
Constructors¶
PDFStringAppearanceOptions()¶
Initializes a new PDFStringAppearanceOptions object.
PDFStringAppearanceOptions(PDFFont, PDFPen, PDFBrush)¶
Initializes a new PDFStringAppearanceOptions object with the specified pen and brush.
Parameters
font PDFFont
Font for drawing text.
pen PDFPen
Pen for drawing text.
brush PDFBrush
Brush for drawing text.
Properties¶
Brush¶
Gets or sets the text brush.
Property Value
PDFBrush
The brush for filling the text outline.
Font¶
Gets or sets the text font.
Property Value
PDFFont
The font used for drawing text.
Remarks
If the font is null, no text is drawn.
Pen¶
Gets or sets the text pen.
Property Value
PDFPen
A pen used for stroking the text outline.
Remarks
Stroking the text outline when a small font size is used results in a bolder text appearance.