Class MsoMetafilePicture
Represents metafile picture in the workbook.
Inheritance
System.Object
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
MsoMetafilePicture
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.MsoDrawing
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class MsoMetafilePicture : MsoBase, ICloneable, IBiffStorage, IDisposable, IPictureRecord
Constructors
MsoMetafilePicture(MsoBase)
Creates new instance of the picture.
Declaration
public MsoMetafilePicture(MsoBase parent)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent record. |
MsoMetafilePicture(MsoBase, Byte[], Int32)
Creates new object.
Declaration
public MsoMetafilePicture(MsoBase parent, byte[] data, int iOffset)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent object. |
System.Byte[] | data | Base data. |
System.Int32 | iOffset | Offset index. |
MsoMetafilePicture(MsoBase, Stream)
Creates new object.
Declaration
public MsoMetafilePicture(MsoBase parent, Stream stream)
Parameters
Type | Name | Description |
---|---|---|
MsoBase | parent | Parent object. |
System.IO.Stream | stream | Stream to get data from. |
Properties
Picture
Picture.
Declaration
public Image Picture { get; set; }
Property Value
Type |
---|
Image |
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[] |
Methods
Finalize()
Destructor.
Declaration
protected override void Finalize()
Overrides
OnDispose()
Frees all unmanaged resources.
Declaration
protected override void OnDispose()
Overrides
ParseStructure(Stream)
Parses structure.
Declaration
public override void ParseStructure(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Overrides
SerializeMetafile(Image)
Saves metafile into MemoryStream.
Declaration
public static MemoryStream SerializeMetafile(Image picture)
Parameters
Type | Name | Description |
---|---|---|
Image | picture | Picture to serialize. |
Returns
Type | Description |
---|---|
System.IO.MemoryStream | Memory stream with metafile data. |
Implements
System.ICloneable
System.IDisposable