Class MetaObjectDraw
Basic drawing object stored in a a MetaFile, it's a fixed length record
Inherited Members
Namespace: Reportman.Drawing
Assembly: Reportman.Drawing.dll
Syntax
public class MetaObjectDraw : MetaObject
Constructors
MetaObjectDraw()
Declaration
public MetaObjectDraw()
Fields
BrushColor
Integer representation of brush color
Declaration
public int BrushColor
Field Value
| Type | Description |
|---|---|
| int |
BrushStyle
Brush style
Declaration
public int BrushStyle
Field Value
| Type | Description |
|---|---|
| int |
DrawStyle
Type of drawing
Declaration
public ShapeType DrawStyle
Field Value
| Type | Description |
|---|---|
| ShapeType |
PenColor
Integer representation of pen color
Declaration
public int PenColor
Field Value
| Type | Description |
|---|---|
| int |
PenStyle
Pen Style, Dash=1, Dot=2, DashDot=3,DashDotDot=4,Clear=5
Declaration
public int PenStyle
Field Value
| Type | Description |
|---|---|
| int |
PenWidth
Pen width in twips
Declaration
public int PenWidth
Field Value
| Type | Description |
|---|---|
| int |
Methods
FillFromBuf(byte[], int, int)
Fill the values of a MetaObjectDraw, loading it from a binary buffer
Declaration
public override void FillFromBuf(byte[] buf, int index, int ver)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | buf | Buffer containing information in binary format |
| int | index | Index to begin read in the buffer |
| int | ver |
Overrides
SaveToStream(Stream, int)
Save the information of the object into a stream
Declaration
public override void SaveToStream(Stream astream, int ver)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | astream | Destination stream |
| int | ver |