FontParams

From PDF XChange PDF SDK
Jump to: navigation, search


Options Table

Name Type Value
Name String Specifies the name by which this font is referenced in the Font sub-dictionary of the current resource dictionary.

Default value: Arial

Size Double Specifies the size of the font.

Default value: 10.0

Underline Integer Specifies whether the font contains an underline style.

Possible values are:

0 (None) No underline will be applied to the text.
1 (Single) The text will be underlined with the single solid line.
2 (Double) The text will be underlined with double solid lines.
3 (Squiggle) The text will be underlined with the wavy line.

Default value: 0 (None)

StrikeOut Integer Specifies whether the font contains a strikeout style.

Possible values are:

0 (None) No strikeout will be applied to the text.
1 (Single) The text will have a single solid line strikeout.
2 (Double) The text will have a double solid line strikeout.
3 (Squiggle) The text will be strikeout with the wavy line.

Default value: 0 (None)

FColor String Specifies the font color.

Default value: Gray(0)

SColor String Specifies the stroke color.

Default value: N

StrokeWidth Double Specifies the width of the stroke.

Default value: 0.0

HScale Double Specifies the horizontal scale of the font.

Default value: 100.0

TextRise Double Specifies the text rise value of the font.

Default value: 0.0

See Also

op.document.addBatesNumbering, op.document.addHeaderAndFooter, op.document.addWatermarks, op.document.summarizeAnnots, op.imagesToDoc, op.scanToImages, op.textToDoc