←Select platform

XResolution Property

Summary

Gets the horizontal resolution (DPI) of the image.

Syntax
C#
VB
Java
Objective-C
C++
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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly