←Select platform

XResolution Property

Summary
Gets the horizontal resolution (DPI) of the image.
Syntax
C#
Objective-C
C++
Java
public int XResolution { get; } 
@property (nonatomic, assign, readonly) NSInteger xResolution; 
public int getXResolution() 
public: 
property int XResolution { 
   int get(); 
} 

Property Value

The horizontal resolution (DPI) of the image. The default value is 0.

Remarks

The XResolution is valid only when the value of HasResolution is true.

Example

For an example, refer to CodecsImageInfo.

Requirements

Target Platforms

Help Version 22.0.2022.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

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