Table of Contents

Class CmxImagePage

Namespace
Aspose.Imaging.FileFormats.Cmx
Assembly
Aspose.Imaging.dll

The image of CMX page

public class CmxImagePage : VectorImage, IDisposable, IObjectWithBounds, ICmxImage, IObjectWithSizeF
Inheritance
CmxImagePage
Implements
Inherited Members

Constructors

CmxImagePage(CmxPage)

Initializes a new instance of the CmxImagePage class.

public CmxImagePage(CmxPage cmxPage)

Parameters

cmxPage CmxPage

The CMX page.

See Also

Properties

BitsPerPixel

Gets the image bits per pixel count.

public override int BitsPerPixel { get; }

Property Value

int

The image bits per pixel count.

See Also

CmxPage

Gets the CMX page.

public CmxPage CmxPage { get; }

Property Value

CmxPage

The CMX page.

See Also

FileFormat

Gets a value of file format

public override FileFormat FileFormat { get; }

Property Value

FileFormat
See Also

HeightF

Gets the object height, in inches.

public override float HeightF { get; }

Property Value

float

The object height, in inches.

See Also

IsCached

Gets a value indicating whether object's data is cached currently and no data reading is required.

public override bool IsCached { get; }

Property Value

bool

true if object's data is cached; otherwise, false.

See Also

WidthF

Gets the object width, in inches.

public override float WidthF { get; }

Property Value

float

The object width, in inches.

See Also

Methods

CacheData()

Cache can not be used.

public override void CacheData()
See Also

GetDefaultOptions(object[])

Gets the default options.

public override ImageOptionsBase GetDefaultOptions(object[] args)

Parameters

args object[]

The arguments.

Returns

ImageOptionsBase

Default options

See Also

Resize(int, int, ImageResizeSettings)

Resizes the image.

public override void Resize(int newWidth, int newHeight, ImageResizeSettings settings)

Parameters

newWidth int

The new width.

newHeight int

The new height.

settings ImageResizeSettings

The resize settings.

See Also

Resize(int, int, ResizeType)

Resizes the image.

public override void Resize(int newWidth, int newHeight, ResizeType resizeType)

Parameters

newWidth int

The new width.

newHeight int

The new height.

resizeType ResizeType

The resize type.

See Also

RotateFlip(RotateFlipType)

Rotates, flips, or rotates and flips the image.

public override void RotateFlip(RotateFlipType rotateFlipType)

Parameters

rotateFlipType RotateFlipType

Type of the rotate flip.

See Also

SaveData(Stream)

Saves the data.

protected override void SaveData(Stream stream)

Parameters

stream Stream

The stream to save data to.

See Also

SetPalette(IColorPalette, bool)

Sets the image palette.

public override void SetPalette(IColorPalette palette, bool updateColors)

Parameters

palette IColorPalette

The palette to set.

updateColors bool

if set to true colors will be updated according to the new palette; otherwise color indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no corresponding palette entries.

See Also

See Also