←Select platform

XResolution Property

Summary

Gets or sets the horizontal resolution (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

The horizontal resolution (DPI).

Remarks

Use this property to set the X resolution member of the RasterImage when the file format being loaded either does not support resolution or the file has no value stored.

Example

For an example, refer to CodecsOptions.

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