Table of Contents

Class CdrImagePage

Namespace
Aspose.Imaging.FileFormats.Cdr
Assembly
Aspose.Imaging.dll

The Cdr image page

public class CdrImagePage : VectorImage, IDisposable, IObjectWithBounds, IObjectWithSizeF, ICdrImage
Inheritance
CdrImagePage
Implements
Inherited Members

Properties

BitsPerPixel

Gets the image bits per pixel count.

public override int BitsPerPixel { get; }

Property Value

int

The image bits per pixel count.

Exceptions

NotImplementedException
See Also

CdrDocument

Gets or sets the CDR document.

public CdrDocument CdrDocument { get; }

Property Value

CdrDocument

The CDR document.

See Also

FileFormat

Gets a value of file format

public override FileFormat FileFormat { get; }

Property Value

FileFormat
See Also

Height

Gets the image height.

public override int Height { get; }

Property Value

int

The image height.

See Also

IsCached

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

public override bool IsCached { get; }

Property Value

bool

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

See Also

PageNumber

Gets the page number.

public int PageNumber { get; }

Property Value

int

The page number.

See Also

ParentImage

Gets the parent image.

public CdrImage ParentImage { get; }

Property Value

CdrImage

The parent image.

See Also

Width

Gets the image width.

public override int Width { get; }

Property Value

int

The image width.

See Also

Methods

CacheData()

Caches the data and ensures no additional data loading will be performed from the underlying DataStreamContainer.

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.

Exceptions

NotImplementedException
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.

Exceptions

NotImplementedException
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.

Exceptions

NotImplementedException
See Also

SaveData(Stream)

Saves the data.

protected override void SaveData(Stream stream)

Parameters

stream Stream

The stream to save data to.

Exceptions

NotImplementedException
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.

Exceptions

NotImplementedException
See Also

See Also