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