←Select platform

Resolution Property

Summary
Gets or sets the resolution (DPI).
Syntax
C#
Objective-C
C++/CLI
Java
Python
public int Resolution { get; set; } 
@property (nonatomic, assign) NSInteger resolution; 
public int getResolution() 
public void setResolution(int value) 
public: 
property int Resolution { 
   int get(); 
   void set (    int ); 
} 
Resolution # get and set (CodecsLoadOptions) 

Property Value

The resolution (DPI). The default value is 150.

Remarks

This class supports setting the horizontal and vertical resolutions individually (XResolution and YResolution properties respectively). In most cases, it is desirable to set both to the same value. The Resolution property provides a shortcut to do just that. Setting Resolution to a value, sets both XResolution and YResolution to the same value. Getting the value of Resolution will return the maximum of XResolution and YResolution (usually they have the same value).

Requirements

Target Platforms

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

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