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

Leadtools Assembly