public class LoadOptions extends Object
Represents the loading options.
Constructor and Description |
---|
LoadOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSizeHint()
Gets the buffer size hint which is defined max allowed size for all internal buffers.
|
Color |
getDataBackgroundColor()
Gets the
Image background Color . |
int |
getDataRecoveryMode()
Gets the data recovery mode.
|
boolean |
getUseIccProfileConversion()
Gets a value indicating whether ICC profile conversion should be applied.
|
void |
setBufferSizeHint(int value)
Sets the buffer size hint which is defined max allowed size for all internal buffers.
|
void |
setDataBackgroundColor(Color value)
Sets the
Image background Color . |
void |
setDataRecoveryMode(int value)
Sets the data recovery mode.
|
void |
setUseIccProfileConversion(boolean value)
Sets a value indicating whether ICC profile conversion should be applied.
|
public int getDataRecoveryMode()
Gets the data recovery mode.
public void setDataRecoveryMode(int value)
Sets the data recovery mode.
value
- The data recovery mode.public Color getDataBackgroundColor()
Gets the Image
background Color
.
Typically the background color is set whenever pixel value cannot be recovered due to data corruption.
public void setDataBackgroundColor(Color value)
Sets the Image
background Color
.
value
- The background color.
Typically the background color is set whenever pixel value cannot be recovered due to data corruption.
public boolean getUseIccProfileConversion()
Gets a value indicating whether ICC profile conversion should be applied.
public void setUseIccProfileConversion(boolean value)
Sets a value indicating whether ICC profile conversion should be applied.
public final int getBufferSizeHint()
Gets the buffer size hint which is defined max allowed size for all internal buffers.
Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal bufferspublic final void setBufferSizeHint(int value)
Sets the buffer size hint which is defined max allowed size for all internal buffers.
Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffersvalue
- the buffer size hint which is defined max allowed size for all internal buffers.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.