Table of Contents

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 Rectangle

The rectangle.

Crop(int, int, int, int)

Crop image with shifts.

public virtual void Crop(int leftShift, int rightShift, int topShift, int bottomShift)

Parameters

leftShift int

The left shift.

rightShift int

The right shift.

topShift int

The top shift.

bottomShift int

The bottom shift.

GetCanNotSaveMessage(ImageOptionsBase)

Gets the can not save message.

protected override string GetCanNotSaveMessage(ImageOptionsBase optionsBase)

Parameters

optionsBase ImageOptionsBase

The 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 Rectangle

The new rectangle.