Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.Converters Namespace > DocumentConverter Class : LoadDocumentOptions Property |
public LoadDocumentOptions LoadDocumentOptions {get; set;}
'Declaration
Public Property LoadDocumentOptions As LoadDocumentOptions
'Usage
Dim instance As DocumentConverter Dim value As LoadDocumentOptions instance.LoadDocumentOptions = value value = instance.LoadDocumentOptions
public LoadDocumentOptions getLoadDocumentOptions() public void setLoadDocumentOptions(LoadDocumentOptions value)
public: property LoadDocumentOptions^ LoadDocumentOptions { LoadDocumentOptions^ get(); void set ( LoadDocumentOptions^ value); }
The DocumentConverter will load the input file in a new Document object if DocumentConverterJobData.InputDocumentFileName is used (when DocumentConverterJobData.Document is null).
This is performed using DocumentFactory.LoadFromFile and this method requires an instance of LoadDocumentOptions with cache and other settings.
If the value of LoadDocumentOptions is not null, then this object is passed as is to the DocumentFactory.LoadFromFile method. If the value is null, then the converter will create a new instance with these parameters:
Member | Description |
---|---|
UseCache |
false since cache is not required when converting and does not speed up the operation. |
CachePolicy |
null |
Password |
null |
WebClient |
null |
AnnotationsUri |
Set to a new URI containing the value of DocumentConverterJobData.InputAnnotationsFileName |
LoadEmbeddedAnnotations |
false |
MayHaveDifferentPageSizes |
false |