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 有限公司

(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 toPdfDocumentOptions.

2 Doc

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

3 Rtf

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

4 Html

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

5 Text

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

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 toXpsDocumentOptions.

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 toDocxDocumentOptions.

9 Xls

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

10 Pub

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

11 Mob

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

12 Svg

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

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 toAltoXmlDocumentOptions.

Remarks

TheDocumentFormatenumeration specifies the output format for the final document created withConvert. Pass the format that is desired as the value of theDocumentConverterJobData.DocumentFormatproperty.

To get or set the extra options supported by a format, use theDocumentConverterJobData.DocumentOptionsproperty.

Requirements
Target Platforms
Leadtools.Document Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.