←Select platform

DefaultResolution Property

Summary

Default resolution in dots per inch of this document.

Syntax
C#
C++/CLI
Java
Python
public double DefaultResolution { get; set; } 
public:  
   property double DefaultResolution 
   { 
      double get() 
      void set(double value) 
   } 
public double getDefaultResolution() 
public void setDefaultResolution(double value) 
DefaultResolution # get and set (DocumentPages) 

Property Value

The default resolution in dots per inch (DPI) of this document. Default value depends on how this document was created. This value cannot be less than 0.

Remarks

DocumentPage.SetImage can be called to set a new raster image for the page. The page Size and Resolution will be updated from the image parameter passed. If the image passed was null, then the document uses the values of DefaultPageSize and DefaultResolution as the new Size and Resolution respectively.

DefaultResolution is also used by the methods used to convert between document units and pixels, refer to Document Library Coordinate System for more information.

The initial values of DefaultPageSize and DefaultResolution is as follows:

Requirements

Target Platforms

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.