Class MsoBitmapPicture
Summary description for MsoPicture.
Inheritance
System.Object
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
MsoBitmapPicture
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.MsoDrawing
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class MsoBitmapPicture : MsoBase, ICloneable, IBiffStorage, IDisposable, IPictureRecord
Constructors
MsoBitmapPicture(MsoBase)
Declaration
public MsoBitmapPicture(MsoBase parent)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent |
MsoBitmapPicture(MsoBase, Byte[], Int32)
Creates new instance of object.
Declaration
public MsoBitmapPicture(MsoBase parent, byte[] data, int iOffset)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent object. |
System.Byte[] | data | Base data. |
System.Int32 | iOffset | Index of offset. |
MsoBitmapPicture(MsoBase, Stream)
Creates new instance of object.
Declaration
public MsoBitmapPicture(MsoBase parent, Stream stream)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent object. |
System.IO.Stream | stream | Stream to get data from. |
Fields
DEF_COLOR_USED_OFFSET
Number of used colors.
Declaration
public const int DEF_COLOR_USED_OFFSET = 32
Field Value
Type |
---|
System.Int32 |
DEF_DIB_HEADER_SIZE
Size of the bitmap header.
Declaration
public const int DEF_DIB_HEADER_SIZE = 14
Field Value
Type |
---|
System.Int32 |
Properties
IsDib
Indicates whether this is dib bitmap.
Declaration
public bool IsDib { get; }
Property Value
Type |
---|
System.Boolean |
Picture
Gets or sets picture of that is contained in the record.
Declaration
public Image Picture { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
PictureDataOffset
Declaration
public int PictureDataOffset { get; set; }
Property Value
Type |
---|
System.Int32 |
PictureStream
Gets or sets the picture stream
Declaration
public Stream PictureStream { get; set; }
Property Value
Type |
---|
System.IO.Stream |
RgbUid
Declaration
public byte[] RgbUid { get; set; }
Property Value
Type |
---|
System.Byte[] |
Tag
Declaration
public byte Tag { get; set; }
Property Value
Type |
---|
System.Byte |
Methods
AddBitMapHeaderToStream(MemoryStream, Int32, UInt32, UInt32)
Adds bitmap header to stream.
Declaration
public static void AddBitMapHeaderToStream(MemoryStream ms, int iFullSize, uint uiSize, uint dibColorCount)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms | |
System.Int32 | iFullSize | |
System.UInt32 | uiSize | |
System.UInt32 | dibColorCount |
OnDispose()
Declaration
protected override void OnDispose()
Overrides
ParseStructure(Stream)
Declaration
public override void ParseStructure(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Overrides
Implements
System.ICloneable
System.IDisposable