Error processing SSI file
LEADTOOLS Leadtools.Documents.Converters (Leadtools.Documents.Converters assembly)

Show in webframe

DocumentFormat Property






Output format to use for document conversion.
Syntax
public DocumentFormat DocumentFormat {get; set;}
'Declaration
 
Public Property DocumentFormat As DocumentFormat
'Usage
 
Dim instance As DocumentConverterJobData
Dim value As DocumentFormat
 
instance.DocumentFormat = value
 
value = instance.DocumentFormat
public DocumentFormat getDocumentFormat()
public void setDocumentFormat(DocumentFormat value)
            
public:
property DocumentFormat DocumentFormat {
   DocumentFormat get();
   void set (    DocumentFormat value);
}

Property Value

The output format to use for document conversion.
Remarks

Jobs can be converted using document or raster formats for the output. To convert to a document format (using DocumentWriter), set DocumentFormat to the desired DocumentFormat value and set RasterImageFormat to RasterImageFormat.Unknown.

To convert to a raster format (using RasterCodecs), set RasterImageFormat to the desired RasterImageFormat value and set DocumentFormat to DocumentFormat.User.

Therefore, one of DocumentFormat and RasterImageFormat is used during the conversion, otherwise, an exception will be thrown.

Use DocumentConverter.DocumentWriterInstance to set the extra format options to use when converting to a document format.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

See Also

Reference

DocumentConverterJobData Structure
DocumentConverterJobData Members
Using LEADTOOLS Document Converters

Error processing SSI file
   Leadtools.Documents.Converters requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features