←Select platform

XResolution Property

Summary

Gets the horizontal resolution (DPI) of the image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int XResolution { get; } 
Public ReadOnly Property XResolution As Integer 
public int XResolution {get;} 
@property (nonatomic, assign, readonly) NSInteger xResolution 
public int getXResolution() 
 get_XResolution();  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly