←Select platform

XResolution Property

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

Property Value

The horizontal resolution (DPI) of the image.

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

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