←Select platform

DefaultDocumentResolution Property

Summary

The default resolution to use when loading document file formats.

Syntax
C#
VB
C++
public static int DefaultDocumentResolution {get; set;} 
Public Shared Property DefaultDocumentResolution() As Integer 
   Get 
   Set 
public:  
   static property Int32 DefaultDocumentResolution 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

Resolution to use when loading document file formats. The default value is 300.

Remarks

Document file formats, such as PDF, DOCX, and TXT, do not have a resolution. Therefore, this property is always used when using the document factory to load such files.

DocumentFactory sets this value initially and every time it changes the CodecsRasterizeDocumentLoadOptions.Resolution value of RasterCodecsTemplate as follows:

C#
DocumentFactory.RasterCodecsTemplate.Options.RasterizeDocument.Load.Resolution = DocumentFactory.DefaultDocumentResolution; 

This resolution value will then be used by the following:

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