Error processing SSI file
LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

Show in webframe

PubDocumentOptions Class








Members 
Provides extra options to use when saving a document using the eBooks Format (ePUB).
Object Model
Syntax
[DataContractAttribute()]
[SerializableAttribute()]
public class PubDocumentOptions : DocumentOptions 
'Declaration
 
<DataContractAttribute()>
<SerializableAttribute()>
Public Class PubDocumentOptions 
   Inherits DocumentOptions
'Usage
 
Dim instance As PubDocumentOptions
public sealed class PubDocumentOptions : DocumentOptions 
public class PubDocumentOptions extends DocumentOptions
function Leadtools.Forms.DocumentWriters.PubDocumentOptions()
[DataContractAttribute()]
[SerializableAttribute()]
public ref class PubDocumentOptions : public DocumentOptions 
Remarks

The options set in the PubDocumentOptions class will be used when the user saves a document using the DocumentFormat.Pub format.

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

  1. Use the DocumentWriter.GetOptions method of the DocumentWriter object being used. Passing DocumentFormat.Pub to the format parameter. Note that the resulting object from the base DocumentOptions class needs to be cast to PubDocumentOptions.
  2. Use the various PubDocumentOptions properties to change the options.
  3. Use DocumentWriter.SetOptions to set the new options in the engine.
  4. Now you can call the DocumentWriter.BeginDocument method (again, with DocumentFormat.Pub for the format parameter) to create a new document and add the pages.

Note that this format does not support calling DocumentWriter.InsertPage.

Currently, the MobDocumentOptions class contains no extra options.

Requirements

Target Platforms

See Also

Reference

PubDocumentOptions Members
Leadtools.Forms.DocumentWriters Namespace
DocumentWriter Class
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

Error processing SSI file
Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features