DocumentFormat Enumeration

Summary

Specifies the output document formats.

Syntax
TypeScript
JavaScript
lt.Document.Writer.DocumentFormat = { 
   user: -1, 
   ltd: 0, 
   pdf: 1, 
   doc: 2, 
   rtf: 3, 
   html: 4, 
   text: 5, 
   emf: 6, 
   xps: 7, 
   docx: 8, 
   xls: 9, 
   pub: 10, 
   mob: 11, 
   svg: 12, 
   altoXml: 13 
} 
lt.Document.Writer.DocumentFormat = { 
   user: -1, 
   ltd: 0, 
   pdf: 1, 
   doc: 2, 
   rtf: 3, 
   html: 4, 
   text: 5, 
   emf: 6, 
   xps: 7, 
   docx: 8, 
   xls: 9, 
   pub: 10, 
   mob: 11, 
   svg: 12, 
   altoXml: 13 
} 

Members

-1 User

(-1) Not used or not a document format.

0 Ltd

(0) LEADTOOLS Temporary Document. This format creates a temporary document that can later be converted to any of the other formats supported by the LEADTOOLS Document Writers.

1 Pdf

(1) Adobe Portable Document Format (PDF). LEADTOOLS Document Writers support several flavors with multiple options of the PDF format, for more information refer to PdfDocumentOptions.

2 Doc

(2) Microsoft Word 2003 document format (DOC). LEADTOOLS Document Writers support extra options for the DOC format. For more information refer to DocDocumentOptions.

3 Rtf

(3) Rich Text Format (RTF). LEADTOOLS Document Writers support extra options for the RTF format. For more information refer to RtfDocumentOptions.

4 Html

(4) HyperText Markup Language (HTML). LEADTOOLS Document Writers support several flavors with multiple options of the RTF format. For more information refer to RtfDocumentOptions.

5 Text

(5) Text format. LEADTOOLS Document Writers support extra options for the Text format. For more information refer to TextDocumentOptions.

6 Emf

(6) Windows Enhanced Meta File (EMF). EMF format does not support multipage documents.

7 Xps

(7) Microsoft Open XML Paper Specification (XPS) (this format requires .NET Framework 3.0). LEADTOOLS Document Writers support extra options for the XPS format. For more information refer to XpsDocumentOptions.

8 Docx

(8) Microsoft Word document format (DOCX) (this format requires .NET Framework 3.0 and Microsoft Open XML Format SDK 1.0.). The DOCX format is part of Microsoft Open XML specification and first introduced with Microsoft Office 2007. LEADTOOLS Document Writers support extra options for the DOCX format. For more information refer to DocxDocumentOptions.

9 Xls

(9) Microsoft Excel 2003 format (XLS). LEADTOOLS Document Writers support extra options for the XLS format. For more information refer to XlsDocumentOptions.

10 Pub

(10) eBooks format (ePUB). LEADTOOLS Document Writers support extra options for the ePUB format. For more information refer to PubDocumentOptions.

11 Mob

(11) Mobipocket e-book format (MOB). LEADTOOLS Document Writers support extra options for the MOB format. For more information refer to MobDocumentOptions.

12 Svg

(12) Scalable Vector Graphics format (SVG). SVG format does not support multipage documents. For more information refer to SvgDocumentOptions.

13 AltoXml

(13) Open XML standard used by the library of congress to describe OCR text and layout format (Alto, AltoXml). LEADTOOLS Document Writers support extra options for the (Alto, AltoXml) format. For more information refer to AltoXmlDocumentOptions.

Remarks

The DocumentFormat enumeration specifies the output format for the final document created with Convert. Pass the format that is desired as the value of the DocumentConverterJobData.DocumentFormat property.

To get or set the extra options supported by a format, use the DocumentConverterJobData.DocumentOptions property.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly