Class MetaImage
- Namespace
- Aspose.Imaging.FileFormats.Emf
- Assembly
- Aspose.Imaging.dll
Base class for Meta object classes
public abstract class MetaImage : VectorImage, IDisposable, IObjectWithBounds, IObjectWithSizeF
- Inheritance
-
MetaImage
- Implements
- Derived
- Inherited Members
Constructors
MetaImage()
Initializes a new instance of the MetaImage.
public MetaImage()
Properties
Records
Gets or sets the records.
public virtual MetaObjectList Records { get; set; }
Property Value
- MetaObjectList
The records.
Methods
Crop(Rectangle)
Crops the specified rectangle.
public virtual void Crop(Rectangle rectangle)
Parameters
rectangle
RectangleThe rectangle.
Crop(int, int, int, int)
Crop image with shifts.
public virtual void Crop(int leftShift, int rightShift, int topShift, int bottomShift)
Parameters
leftShift
intThe left shift.
rightShift
intThe right shift.
topShift
intThe top shift.
bottomShift
intThe bottom shift.
GetCanNotSaveMessage(ImageOptionsBase)
Gets the can not save message.
protected override string GetCanNotSaveMessage(ImageOptionsBase optionsBase)
Parameters
optionsBase
ImageOptionsBaseThe image options.
Returns
- string
The can not save message.
GetMissedFonts()
Returns the list of fonts which used inside metafile but not found.
public string[] GetMissedFonts()
Returns
- string[]
The font list
GetUsedFonts()
Returns the list of font which used inside metafile.
public abstract string[] GetUsedFonts()
Returns
- string[]
The font list
ResizeCanvas(Rectangle)
Resizes the canvas.
public abstract void ResizeCanvas(Rectangle newRectangle)
Parameters
newRectangle
RectangleThe new rectangle.