←Select platform

AutoFixResolution Method

Summary

Automatically converts the resolution of this image.

Syntax
C#
C++/CLI
Python
public void AutoFixResolution() 
public:  
   void AutoFixResolution() 
def AutoFixResolution(self): 
Remarks

This method uses the values set through RasterDefaults.SetAutoFixImageResolutionOptions to determine whether it should automatically convert the image resolution. If it determines that the resolution should be updated, AutoFixImageResolution will update XResolution and YResolution.

The RasterCodecs load methods call this function to convert the resolution of digital photos during loading.

To get the current options used to automatically convert the image resolution, call RasterDefaults.GetAutoFixImageResolutionOptions.

For more information on how LEAD automatically converts the resolution of digital photos, see AutoFixImageResolutionOptions.

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 Assembly

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