DocumentFormat Enumeration

Summary

Specifies the output document formats.

Syntax

JavaScript Syntax
lt.Documents.Writers.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 
} 
TypeScript Syntax
lt.Documents.Writers.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 multi-page 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 multi-page 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly