←Select platform

DefaultDocumentResolution Property

Summary

The default resolution to use when loading document file formats.

Syntax
C#
C++/CLI
Python
public static int DefaultDocumentResolution { get; set; } 
public:  
   static property Int32 DefaultDocumentResolution 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
DefaultDocumentResolution # get and set (DocumentFactory) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.