LoadOptions
Represents the loading options.
Constructors
| Constructor | Description |
|---|---|
| LoadOptions() |
Methods
| Method | Description |
|---|---|
| getCustomFontFolderOptions() | Options to control behaviour of custom font folder. |
| setCustomFontFolderOptions(int value) | Options to control behaviour of custom font folder. |
| getCustomFontFolders() | Sets the custom font folders. Pass null to reset to default folders. |
| setCustomFontFolders(String[] value) | Sets the custom font folders. Pass null to reset to default folders. |
| getSpecifiedEncoding() | Gets or sets the specified encoding. |
| setSpecifiedEncoding(int value) | Gets or sets the specified encoding. |
| getSpecifiedMifEncoding() | Gets or sets encoding for MIF characters |
| setSpecifiedMifEncoding(int value) | Gets or sets encoding for MIF characters |
| getDataBackgroundColor() | Gets or sets the Image background Color . |
| setDataBackgroundColor(com.aspose.cad.Color value) | Gets or sets the Image background Color . |
| getUnloadOnDispose() | Whether to unload all data and free memory when Dispose is called |
| setUnloadOnDispose(boolean value) | Whether to unload all data and free memory when Dispose is called |
| getRecoverMalformedCifMif() | Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations |
| setRecoverMalformedCifMif(boolean value) | Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations |
| getIgnoreErrors() | Whether to ignore load errors. |
| setIgnoreErrors(boolean value) | Whether to ignore load errors. |
| getErrors() | Gets the list of loading errors. |
| getInterruptionToken() | Token that can be used to interrupt export operation |
| setInterruptionToken(InterruptionToken value) | Token that can be used to interrupt export operation |
LoadOptions()
public LoadOptions()
getCustomFontFolderOptions()
public final int getCustomFontFolderOptions()
Options to control behaviour of custom font folder.
Returns: int
setCustomFontFolderOptions(int value)
public final void setCustomFontFolderOptions(int value)
Options to control behaviour of custom font folder.
getCustomFontFolders()
public final String[] getCustomFontFolders()
Sets the custom font folders. Pass null to reset to default folders.
Returns: String[]
setCustomFontFolders(String[] value)
public final void setCustomFontFolders(String[] value)
Sets the custom font folders. Pass null to reset to default folders.
getSpecifiedEncoding()
public int getSpecifiedEncoding()
Gets or sets the specified encoding.
Returns: int - The specified encoding.
setSpecifiedEncoding(int value)
public void setSpecifiedEncoding(int value)
Gets or sets the specified encoding.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The specified encoding. |
getSpecifiedMifEncoding()
public final int getSpecifiedMifEncoding()
Gets or sets encoding for MIF characters
Returns: int - Specified MIF character encoding
setSpecifiedMifEncoding(int value)
public final void setSpecifiedMifEncoding(int value)
Gets or sets encoding for MIF characters
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | Specified MIF character encoding |
getDataBackgroundColor()
public com.aspose.cad.Color getDataBackgroundColor()
Gets or sets the Image background Color .
Returns: com.aspose.cad.Color - The background color. Typically the background color is set whenever pixel value cannot be recovered due to data corruption.
setDataBackgroundColor(com.aspose.cad.Color value)
public void setDataBackgroundColor(com.aspose.cad.Color value)
Gets or sets the Image background Color .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.cad.Color | The background color. Typically the background color is set whenever pixel value cannot be recovered due to data corruption. |
getUnloadOnDispose()
public final boolean getUnloadOnDispose()
Whether to unload all data and free memory when Dispose is called
Returns: boolean
setUnloadOnDispose(boolean value)
public final void setUnloadOnDispose(boolean value)
Whether to unload all data and free memory when Dispose is called
getRecoverMalformedCifMif()
public final boolean getRecoverMalformedCifMif()
Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations
Returns: boolean
setRecoverMalformedCifMif(boolean value)
public final void setRecoverMalformedCifMif(boolean value)
Whether to recover non-escaped CIF (U+XXXX) and MIF (M+nXXXX) character notations
getIgnoreErrors()
public final boolean getIgnoreErrors()
Whether to ignore load errors.
Returns: boolean
setIgnoreErrors(boolean value)
public final void setIgnoreErrors(boolean value)
Whether to ignore load errors.
getErrors()
public final List<RenderResult> getErrors()
Gets the list of loading errors.
Returns: List
getInterruptionToken()
public final InterruptionToken getInterruptionToken()
Token that can be used to interrupt export operation
Returns: InterruptionToken
setInterruptionToken(InterruptionToken value)
public final void setInterruptionToken(InterruptionToken value)
Token that can be used to interrupt export operation