Table of Contents

Class MetaPen

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

A Pen object of the WMF format.

public class MetaPen : MetaObject
Inheritance
MetaPen
Inherited Members

Remarks

A Pen object of the WMF format. Holds the color, style and width information of the pen.

Constructors

MetaPen()

Creates a MetaPen object.

public MetaPen()

Fields

PS_DASH

public const int PS_DASH = 1

Field Value

int

PS_DASHDOT

public const int PS_DASHDOT = 3

Field Value

int

PS_DASHDOTDOT

public const int PS_DASHDOTDOT = 4

Field Value

int

PS_DOT

public const int PS_DOT = 2

Field Value

int

PS_INSIDEFRAME

public const int PS_INSIDEFRAME = 6

Field Value

int

PS_NULL

public const int PS_NULL = 5

Field Value

int

PS_SOLID

public const int PS_SOLID = 0

Field Value

int

Methods

GetColor()

Get the color of the MetaPen.

public virtual Color GetColor()

Returns

Color

color of the pen

GetPenWidth()

Get the width of the MetaPen.

public virtual int GetPenWidth()

Returns

int

width of the pen

GetStyle()

Get the style of the MetaPen.

public virtual int GetStyle()

Returns

int

style of the pen

Init(InputMeta)

Initializes a MetaPen object.

public virtual void Init(InputMeta @in)

Parameters

in InputMeta

the InputMeta object that holds the inputstream of the WMF image