←Select platform

XResolution Property (RasterImage)

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) 
             
  
get_XResolution(); 
set_XResolution(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize