←Select platform

XResolution Property

Summary

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

Syntax

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

Leadtools Assembly