Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterDocumentFormatLevel Enumeration
See Also  
Leadtools.Document Namespace : RasterDocumentFormatLevel Enumeration



Values that specify how much formatting is exported.

Syntax

Visual Basic (Declaration) 
Public Enum RasterDocumentFormatLevel 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentFormatLevel
C# 
public enum RasterDocumentFormatLevel : Enum 
C++/CLI 
public enum class RasterDocumentFormatLevel : public Enum 

Members

MemberDescription
Full Retain all formatting, including text zoning (Default). It keeps the original layout of the pages, including columns. This is done with text, graphical and table zones and frames. This is offered only for target applications capable of handling these. Full formatting is the only choice for all PDF export, except for the file type "Adobe PDF edited".
Part Retain a partial set of output formatting elements. All recognized paragraph and character formatting features along with graphics and tables are exported.
Drop Export only some character formatting properties (font size and name), if applicable. When exporting to text file types, graphics and tables are not supported.
Custom Custom format level.

To use this format, you should fill the following structures: 1. RasterDocumentOptions using the Document property through the RasterDocumentEngine.SaveResultOptions property. 2. RasterDocumentParagraphOptions using the Paragraph property through the RasterDocumentEngine.SaveResultOptions property. 3. RasterDocumentCharacterOptions using the Character property through the RasterDocumentEngine.SaveResultOptions property. 4. RasterDocumentMarkOptions using the Mark property through the RasterDocumentEngine.SaveResultOptions property.

If the RasterDocumentFormatLevel.Full, RasterDocumentFormatLevel.Part, or RasterDocumentFormatLevel.Drop value is being used, when the RasterDocumentEngine.SaveResultOptions property is being set it will ignore any options passed to the Document, Paragraph, Character and Mark options. If the RasterDocumentFormatLevel.Custom is being used, then you should fill the Document, Paragraph, Character and Mark structures before setting the RasterDocumentEngine.SaveResultOptions property.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Document.RasterDocumentFormatLevel

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.