←Select platform

AutoFixResolution Method

Summary

Automatically converts the resolution of this image.

Syntax
C#
VB
C++
public void AutoFixResolution() 
Public Sub AutoFixResolution() 
public:  
   void AutoFixResolution() 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

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