←Select platform

MobDocumentOptions Class

Summary

Provides extra options to use when saving a document using the Mobipocket e-book format (MOB) format.

Syntax
C#
VB
C++
Java
[SerializableAttribute()] 
[DataContractAttribute()] 
public class MobDocumentOptions : DocumentOptions 
<DataContractAttribute()> 
<SerializableAttribute()> 
Public Class MobDocumentOptions  
   Inherits DocumentOptions 
public class MobDocumentOptions extends DocumentOptions 
[DataContractAttribute()] 
[SerializableAttribute()] 
public ref class MobDocumentOptions : public DocumentOptions  

Remarks

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

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

  1. Use the DocumentWriter.GetOptions method of the DocumentWriter object being used. Passing DocumentFormat.Mob to the format parameter. Note that the resulting object from the base DocumentOptions class needs to be cast to MobDocumentOptions.
  2. Use the various MobDocumentOptions properties to change the options.
  3. Use DocumentWriter.SetOptions to set the new options in the engine.
  4. Now call the DocumentWriter.BeginDocument method (with DocumentFormat.Mob 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

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

Leadtools.Document.Writer Assembly