Class EmfPlusMetafile
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusMetafileData object specifies a metafile that contains a graphics image
public sealed class EmfPlusMetafile : EmfPlusBaseImageData
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusStructureObjectType ← EmfPlusBaseImageData ← EmfPlusMetafile
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusMetafile()
public EmfPlusMetafile()
Properties
MetafileData
Gets or sets variable-length data that specifies the embedded metafile. The content and format of the data can be different for each metafile type.
public byte[] MetafileData { get; set; }
Property Value
byte[]
Remarks
Graphics images are specified by EmfPlusImage objects (section 2.2.1.4). An EmfPlusMetafile object MUST be present in the ImageData field of an EmfPlusImage object if ImageTypeMetafile is specified in its Type field. This object is generic and is used for different types of data, including: A WMF metafile [MS-WMF]; WMF metafile which can be placed; An EMF metafile [MS-EMF]; An EMF+ metafile that specifies graphics operations with EMF+ records only; and An EMF+ metafile that specifies graphics operations with both EMF+ and EMF records. See section 2.2.2 for the specification of additional structure objects.
MetafileDataSize
Gets or sets 32-bit unsigned integer that specifies the size in bytes of the metafile data in the MetafileData field
public int MetafileDataSize { get; set; }
Property Value
Type
Gets or sets 32-bit unsigned integer that specifies the type of metafile that is embedded in the MetafileData field. This value MUST be defined in the MetafileDataType enumeration (section 2.1.1.21).
public EmfPlusMetafileDataType Type { get; set; }