Table of Contents

Class ImageOptionsBase

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

The image base options.

public abstract class ImageOptionsBase : DisposableObject, IDisposable, IHasXmpData, IHasMetadata
Inheritance
ImageOptionsBase
Implements
Derived
Inherited Members

Constructors

ImageOptionsBase()

Initializes a new instance of the ImageOptionsBase class.

protected ImageOptionsBase()

ImageOptionsBase(Image)

Initializes a new instance of the ImageOptionsBase class.

protected ImageOptionsBase(Image image)

Parameters

image Image

The image.

ImageOptionsBase(ImageOptionsBase)

Initializes a new instance of the ImageOptionsBase class.

protected ImageOptionsBase(ImageOptionsBase imageOptions)

Parameters

imageOptions ImageOptionsBase

The image options.

Properties

BufferSizeHint

Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.

public int BufferSizeHint { get; set; }

Property Value

int

The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers

FullFrame

Gets or sets a value indicating whether [full frame].

public bool FullFrame { get; set; }

Property Value

bool

true if [full frame]; otherwise, false.

KeepMetadata

Gets a value whether to keep original image metadata on export.

public bool KeepMetadata { get; set; }

Property Value

bool

MultiPageOptions

The multipage options

public MultiPageOptions MultiPageOptions { get; set; }

Property Value

MultiPageOptions

Palette

Gets or sets the color palette.

public virtual IColorPalette Palette { get; set; }

Property Value

IColorPalette

The color palette.

ProgressEventHandler

Gets or sets the progress event handler.

public ProgressEventHandler ProgressEventHandler { get; set; }

Property Value

ProgressEventHandler

The progress event handler.

ResolutionSettings

Gets or sets the resolution settings.

public virtual ResolutionSetting ResolutionSettings { get; set; }

Property Value

ResolutionSetting

Source

Gets or sets the source to create image in.

public Source Source { get; set; }

Property Value

Source

The source to create image in.

VectorRasterizationOptions

Gets or sets the vector rasterization options.

public VectorRasterizationOptions VectorRasterizationOptions { get; set; }

Property Value

VectorRasterizationOptions

The vector rasterization options.

XmpData

Gets or sets the XMP metadata container.

public virtual XmpPacketWrapper XmpData { get; set; }

Property Value

XmpPacketWrapper

The XMP data container.

Methods

Clone()

Clones this instance.

public virtual ImageOptionsBase Clone()

Returns

ImageOptionsBase

Returns shallow copy of this instance

ReleaseManagedResources()

Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.

protected override void ReleaseManagedResources()