Class MSODrawingRecord
This record contains a drawing object provided by the Microsoft Office Drawing tool.
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff(TBIFFRecord.MSODrawing)]
[CLSCompliant(false)]
public class MSODrawingRecord : BiffRecordRawWithArray, IBiffStorage, IDisposable, ICloneable, ILengthSetter
Constructors
MSODrawingRecord()
Default constructor fills all data with default values.
Declaration
public MSODrawingRecord()
MSODrawingRecord(Stream, out int)
Read / initialize constructor.
Declaration
public MSODrawingRecord(Stream stream, out int itemSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream from which record data should be read. |
| int | itemSize | Size of read item. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If stream is not specified. |
| ApplicationException | If stream does not support read or seek operations. |
MSODrawingRecord(int)
Reserved for record's internal data array.
Declaration
public MSODrawingRecord(int iReserve)
Parameters
| Type | Name | Description |
|---|---|---|
| int | iReserve | Amount of bytes for data array. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
Properties
NeedDataArray
Declaration
public override bool NeedDataArray { get; }
Property Value
| Type |
|---|
| bool |
Overrides
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.NeedDataArray
RecordLength
Declaration
public int RecordLength { get; set; }
Property Value
| Type |
|---|
| int |
Methods
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelVersion | version |
Returns
| Type |
|---|
| int |
Overrides
ParseStructure()
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure()
Overrides
SetData(int, byte[])
Declaration
public void SetData(int length, byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| int | length | |
| byte[] | data |
SetLength(int)
Sets length of the internal data.
Declaration
public void SetLength(int iLength)
Parameters
| Type | Name | Description |
|---|---|---|
| int | iLength | Length to set. |