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

Leadtools.Codecs Assembly