←Select platform

XResolution Property

Summary

Gets or sets the image horizontal resolution, in dots per inch (DPI).

Syntax
C#
VB
Objective-C
C++
Java
public int XResolution { get; set; } 
Public Property XResolution As Integer 
@property (nonatomic, assign) NSInteger xResolution 
public int getXResolution() 
public void setXResolution(int value) 
public: 
property int XResolution { 
   int get(); 
   void set (    int ); 
} 

Property Value

Horizontal resolution in dots per inch (DPI).

Remarks

Some file formats save this value in the file header.

Example

For an example, refer to RasterImage.

Requirements

Target Platforms

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

Leadtools Assembly