←Select platform

Resolution Property (CodecsJbigLoadOptions)

Summary

Gets or sets the resolution to load.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public Leadtools.LeadSize Resolution {get; set;} 
Public Property Resolution As Leadtools.LeadSize 
public Leadtools.LeadSize Resolution {get; set;} 
@property (nonatomic, assign) LeadSize resolution 
public LeadSize getResolution() 
public void setResolution(LeadSize value) 
             
  
get_Resolution(); 
set_Resolution(value); 
Object.defineProperty('Resolution');  
public: 
property Leadtools.LeadSize Resolution { 
   Leadtools.LeadSize get(); 
   void set (    Leadtools.LeadSize ); 
} 

Property Value

The resolution to load.

Remarks

Specify 0 for both dimensions to load the default resolution, which is the highest resolution layer, which corresponds to the image with its FULL DIMENSIONS.

Ex: If the file contains the image at the following dimensions: 800X600, 400X 300 and 200X150, then in the default case the codec will load the image at 800X600.

Specify either the desired width or desired height to load, and use 0 to get the default for the other dimension. The load procedure will determine the closest resolution layer, which best fits the user's request.

Ex: If the file contains the image at the following dimensions: 800X600, 400X 300 and 200X150 and the user requests an image with width equal to 780 for example, then LEADTOOLS will automatically know that the proper width is 800 and load the image at the (800X600) resolution.

Specify one of the exact sets of dimensions in the file.

Example

For an example, refer to CodecsJbigOptions.

Requirements

Target Platforms

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