DocumentOptions Object

Summary

Abstract base class that provides functionality common to all the format option classes in the LEADTOOLS Document Writers.

Syntax
TypeScript
JavaScript
function lt.Document.Writer.DocumentOptions 
class lt.Document.Writer.DocumentOptions() 

Remarks

You cannot use the DocumentOptions class directly. Instead, use one of the derived classes to get and set the options associated with a document format. The following table lists the document formats and the DocumentOptions derived class associated with it:

Format Class
DocumentFormat.Ltd
LtdDocumentOptions
DocumentFormat.Pdf
PdfDocumentOptions
DocumentFormat.Doc
DocDocumentOptions
DocumentFormat.Rtf
RtfDocumentOptions
DocumentFormat.Html
HtmlDocumentOptions
DocumentFormat.Text
TextDocumentOptions
DocumentFormat.Emf
EmfDocumentOptions
DocumentFormat.Xps
XpsDocumentOptions
DocumentFormat.Docx
DocxDocumentOptions
DocumentFormat.Xls
XpsDocumentOptions

To change the options used with a particular format, perform the following steps:

  1. Create a new instance of a DocumentOptions derived class, such as PdfDocumentOptions.

  2. Use the various derived class properties to change the options.

  3. Set the object in the DocumentConverterJobData.DocumentOptions property to use the new options for the conversion.

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