Table of Contents

Class MetaFont

Namespace
iText.Kernel.Pdf.Canvas.Wmf
Assembly
itext.kernel.dll

A Meta Font.

public class MetaFont : MetaObject
Inheritance
MetaFont
Inherited Members

Constructors

MetaFont()

Creates a MetaFont instance.

public MetaFont()

Methods

GetAngle()

Returns the angle of the MetaFont.

public virtual float GetAngle()

Returns

float

the angle

GetEncoding()

Returns the encoding used in the MetaFont.

public virtual FontEncoding GetEncoding()

Returns

FontEncoding

the font encoding

GetFont()

Returns the Font.

public virtual FontProgram GetFont()

Returns

FontProgram

the font

GetFontSize(MetaState)

Returns the font size.

public virtual float GetFontSize(MetaState state)

Parameters

state MetaState

the MetaState

Returns

float

font size

Init(InputMeta)

Initializes the MetaFont instance.

public virtual void Init(InputMeta @in)

Parameters

in InputMeta

InputMeta containing the WMF data

IsStrikeout()

Returns a boolean value indicating if a font has a strikeout.

public virtual bool IsStrikeout()

Returns

bool

true if the font set strikeout

IsUnderline()

Returns a boolean value indicating if the font is underlined or not.

public virtual bool IsUnderline()

Returns

bool

true if the font is underlined