[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.SetTextFontAndSize

Class SetTextFontAndSize

Namespace
GrapeCity.Documents.Pdf.Operators
Assembly
GcDocs.Pdf.dll

PDF "Tf" operator. Set the text font and size.

public class SetTextFontAndSize : OperatorBase
Inheritance
object
SetTextFontAndSize
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

SetTextFontAndSize(Font, PdfName, float)

Initializes a new instance of the SetTextFontAndSize class.

public SetTextFontAndSize(Font font, PdfName fontName, float fontSize)

Parameters

font Font

The value of Font.

fontName PdfName

The value of FontName.

fontSize float

The value of FontSize.

Fields

Font

The font.

public readonly Font Font

Field Value

Font

FontName

The font resource name.

public readonly PdfName FontName

Field Value

PdfName

FontSize

The font size.

public readonly float FontSize

Field Value

float

Properties

Desc

Gets the operator's description.

public override string Desc { get; }

Property Value

string

Name

Gets the operator's PDF name.

public override string Name { get; }

Property Value

string

Methods

IsSame(OperatorBase)

Determines whether the provided operator is the same as the current operator.

public override bool IsSame(OperatorBase other)

Parameters

other OperatorBase

A OperatorBase object.

Returns

bool

true if the provided operator is the same as the current operator; otherwise, false.