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

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