Skip to content

PDFTextRenderingMode

Namespace: O2S.Components.PDF4NET.Graphics.Text

Specifies the supported text rendering modes for a font.

public enum PDFTextRenderingMode

Inheritance ObjectValueTypeEnumPDFTextRenderingMode
Implements

Fields

Name Value Description
Default -1 This value specifies that the text rendering mode is determined automatically based on the pen and brush availability in DrawString methods.
FillText 0 Fill text.
StrokeText 1 Stroke text.
FillStrokeText 2 Fill, then stroke text.
NoFillNoStrokeText 3 Neither fill nor stroke text (invisible).
FillAndClipText 4 Fill text and add to path for clipping.
StrokeAndClipText 5 Stroke text and add to path for clipping.
FillStrokeAndClipText 6 Fill, then stroke text and add to path for clipping.
ClipText 7 Add text to path for clipping.