Table of Contents

Class LoadOptions

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

Represents the loading options.

public class LoadOptions
Inheritance
LoadOptions
Derived
Inherited Members

Constructors

LoadOptions()

public LoadOptions()

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

ConcurrentImageProcessing

Gets or sets a value indicating whether [concurrent image processing].

public bool ConcurrentImageProcessing { get; set; }

Property Value

bool

true if [concurrent image processing]; otherwise, false.

DataBackgroundColor

Gets or sets the Image background Color.

public Color DataBackgroundColor { get; set; }

Property Value

Color

The background color.

Remarks

Typically the background color is set whenever pixel value cannot be recovered due to data corruption.

DataRecoveryMode

Gets or sets the data recovery mode.

public DataRecoveryMode DataRecoveryMode { get; set; }

Property Value

DataRecoveryMode

The data recovery mode.

ProgressEventHandler

Gets or sets the progress event handler.

public ProgressEventHandler ProgressEventHandler { get; set; }

Property Value

ProgressEventHandler

The progress event handler.

UseIccProfileConversion

Gets or sets a value indicating whether ICC profile conversion should be applied.

[Obsolete("ICC profile conversion will be used by default and this property will be removed.")]
public bool UseIccProfileConversion { get; set; }

Property Value

bool

Methods

AddCustomFontSource(CustomFontSource, params object[])

Adds the custom font source to supply image-specific fonts.

public void AddCustomFontSource(CustomFontSource source, params object[] args)

Parameters

source CustomFontSource

The custom font source provider function.

args object[]

The arguments.