ImageLoadOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.load.LoadOptions
All Implemented Interfaces: java.io.Serializable
public final class ImageLoadOptions extends LoadOptions implements Serializable
Options for loading Image documents.
| Constructor | Description |
|---|---|
| ImageLoadOptions() | Initializes new instance of ImageLoadOptions class. |
| Method | Description |
|---|---|
| getFormat() | |
| getDefaultFont() | Default font for Psd, Emf, Wmf document types. |
| setDefaultFont(String value) | Default font for Psd, Emf, Wmf document types. |
| isRecognitionEnabled() | |
| getOcrConnector() | |
| setOcrConnector(IOcrConnector ocrConnector) | Set image OCR connector |
| getResetFontFolders() | Reset font folders before loading document |
| setResetFontFolders(boolean resetFontFolders) |
public ImageLoadOptions()
Initializes new instance of ImageLoadOptions class.
public final ImageFileType getFormat()
Input document file type
Returns: ImageFileType
public final String getDefaultFont()
Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
Returns: java.lang.String
public final void setDefaultFont(String value)
Default font for Psd, Emf, Wmf document types. The following font will be used if a font is missing.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public boolean isRecognitionEnabled()
Returns: boolean
public IOcrConnector getOcrConnector()
Returns: IOcrConnector
public void setOcrConnector(IOcrConnector ocrConnector)
Set image OCR connector
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ocrConnector | IOcrConnector | OCR connector instance |
public boolean getResetFontFolders()
Reset font folders before loading document
Returns: boolean
public void setResetFontFolders(boolean resetFontFolders)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| resetFontFolders | boolean |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.