Class MetaObjectPolygon
Polygon drawing object stored in a a MetaFile, it's a fixed length record, still not implemented, for future use
Inherited Members
Namespace: Reportman.Drawing
Assembly: Reportman.Drawing.dll
Syntax
public class MetaObjectPolygon : MetaObject
Constructors
MetaObjectPolygon()
Declaration
public MetaObjectPolygon()
Fields
PolyBrushColor
Polygon brush color
Declaration
public int PolyBrushColor
Field Value
| Type | Description |
|---|---|
| int |
PolyBrushStyle
Polygon brush style
Declaration
public int PolyBrushStyle
Field Value
| Type | Description |
|---|---|
| int |
PolyPenColor
Polygon pen color
Declaration
public int PolyPenColor
Field Value
| Type | Description |
|---|---|
| int |
PolyPenStyle
Polygon pen style
Declaration
public int PolyPenStyle
Field Value
| Type | Description |
|---|---|
| int |
PolyPenWidth
Polygon pen width
Declaration
public int PolyPenWidth
Field Value
| Type | Description |
|---|---|
| int |
PolyPointCount
Polygon point count
Declaration
public int PolyPointCount
Field Value
| Type | Description |
|---|---|
| int |
PolyStreamPos
Polygon stream position
Declaration
public long PolyStreamPos
Field Value
| Type | Description |
|---|---|
| long |
PolyStreamSize
Polygon stream size
Declaration
public long PolyStreamSize
Field Value
| Type | Description |
|---|---|
| long |
Methods
FillFromBuf(byte[], int, int)
Fill the values of a MetaObjectPolygon, 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 |