Table of Contents

Class FontDescriptor.Builder

Namespace
UglyToad.PdfPig.PdfFonts
Assembly
UglyToad.PdfPig.dll

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 NameToken
flags FontDescriptorFlags

Properties

Ascent

Sets the Ascent.

public decimal Ascent { get; set; }

Property Value

decimal

AverageWidth

Sets the AverageWidth.

public decimal AverageWidth { get; set; }

Property Value

decimal

BoundingBox

Sets the BoundingBox.

public PdfRectangle BoundingBox { get; set; }

Property Value

PdfRectangle

CapHeight

Sets the CapHeight.

public decimal CapHeight { get; set; }

Property Value

decimal

CharSet

Sets the CharSet.

public string CharSet { get; set; }

Property Value

string

Descent

Sets the Descent.

public decimal Descent { get; set; }

Property Value

decimal

Flags

Sets the Flags.

public FontDescriptorFlags Flags { get; set; }

Property Value

FontDescriptorFlags

FontFamily

Sets the FontFamily.

public string FontFamily { get; set; }

Property Value

string

FontFile

Sets the FontFile.

public DescriptorFontFile FontFile { get; set; }

Property Value

DescriptorFontFile

FontName

Sets the FontName.

public NameToken FontName { get; set; }

Property Value

NameToken

FontWeight

Sets the FontWeight.

public decimal FontWeight { get; set; }

Property Value

decimal

ItalicAngle

Sets the ItalicAngle.

public decimal ItalicAngle { get; set; }

Property Value

decimal

Leading

Sets the Leading.

public decimal Leading { get; set; }

Property Value

decimal

MaxWidth

Sets the MaxWidth.

public decimal MaxWidth { get; set; }

Property Value

decimal

MissingWidth

Sets the MissingWidth.

public decimal MissingWidth { get; set; }

Property Value

decimal

StemHorizontal

Sets the StemHorizontal.

public decimal StemHorizontal { get; set; }

Property Value

decimal

StemVertical

Sets the StemVertical.

public decimal StemVertical { get; set; }

Property Value

decimal

Stretch

Sets the Stretch.

public FontStretch Stretch { get; set; }

Property Value

FontStretch

XHeight

Sets the XHeight.

public decimal XHeight { get; set; }

Property Value

decimal

Methods

Build()

Create the FontDescriptor with values from this builder.

public FontDescriptor Build()

Returns

FontDescriptor