ImageLoadOptions
Contents
[
Hide
]
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.
Constructors
| Constructor | Description |
|---|---|
| ImageLoadOptions() | Initializes new instance of ImageLoadOptions class. |
Methods
| 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) |
ImageLoadOptions()
public ImageLoadOptions()
Initializes new instance of ImageLoadOptions class.
getFormat()
public final ImageFileType getFormat()
Input document file type
Returns: ImageFileType
getDefaultFont()
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
setDefaultFont(String value)
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 |
isRecognitionEnabled()
public boolean isRecognitionEnabled()
Returns: boolean
getOcrConnector()
public IOcrConnector getOcrConnector()
Returns: IOcrConnector
setOcrConnector(IOcrConnector ocrConnector)
public void setOcrConnector(IOcrConnector ocrConnector)
Set image OCR connector
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ocrConnector | IOcrConnector | OCR connector instance |
getResetFontFolders()
public boolean getResetFontFolders()
Reset font folders before loading document
Returns: boolean
setResetFontFolders(boolean resetFontFolders)
public void setResetFontFolders(boolean resetFontFolders)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| resetFontFolders | boolean |