Class MetaPen
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
PS_DASHDOT
public const int PS_DASHDOT = 3
Field Value
PS_DASHDOTDOT
public const int PS_DASHDOTDOT = 4
Field Value
PS_DOT
public const int PS_DOT = 2
Field Value
PS_INSIDEFRAME
public const int PS_INSIDEFRAME = 6
Field Value
PS_NULL
public const int PS_NULL = 5
Field Value
PS_SOLID
public const int PS_SOLID = 0
Field Value
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
InputMetathe InputMeta object that holds the inputstream of the WMF image