Class FontDescriptor.Builder
Provides a mutable way to construct a FontDescriptor.
public class FontDescriptor.Builder
- Inheritance
-
FontDescriptor.Builder
- Inherited Members
Constructors
Builder(NameToken, FontDescriptorFlags)
Create a new FontDescriptor.Builder.
public Builder(NameToken fontName, FontDescriptorFlags flags)
Parameters
fontName
NameTokenflags
FontDescriptorFlags
Properties
Ascent
Sets the Ascent.
public decimal Ascent { get; set; }
Property Value
AverageWidth
Sets the AverageWidth.
public decimal AverageWidth { get; set; }
Property Value
BoundingBox
Sets the BoundingBox.
public PdfRectangle BoundingBox { get; set; }
Property Value
CapHeight
Sets the CapHeight.
public decimal CapHeight { get; set; }
Property Value
CharSet
Sets the CharSet.
public string CharSet { get; set; }
Property Value
Descent
Sets the Descent.
public decimal Descent { get; set; }
Property Value
Flags
Sets the Flags.
public FontDescriptorFlags Flags { get; set; }
Property Value
FontFamily
Sets the FontFamily.
public string FontFamily { get; set; }
Property Value
FontFile
Sets the FontFile.
public DescriptorFontFile FontFile { get; set; }
Property Value
FontName
Sets the FontName.
public NameToken FontName { get; set; }
Property Value
FontWeight
Sets the FontWeight.
public decimal FontWeight { get; set; }
Property Value
ItalicAngle
Sets the ItalicAngle.
public decimal ItalicAngle { get; set; }
Property Value
Leading
Sets the Leading.
public decimal Leading { get; set; }
Property Value
MaxWidth
Sets the MaxWidth.
public decimal MaxWidth { get; set; }
Property Value
MissingWidth
Sets the MissingWidth.
public decimal MissingWidth { get; set; }
Property Value
StemHorizontal
Sets the StemHorizontal.
public decimal StemHorizontal { get; set; }
Property Value
StemVertical
Sets the StemVertical.
public decimal StemVertical { get; set; }
Property Value
Stretch
Sets the Stretch.
public FontStretch Stretch { get; set; }
Property Value
XHeight
Sets the XHeight.
public decimal XHeight { get; set; }
Property Value
Methods
Build()
Create the FontDescriptor with values from this builder.
public FontDescriptor Build()