LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

Resolution Property (CodecsEcwLoadOptions)






Gets or sets the resolution to load. .NET support WinRT support
Syntax
public LeadSize Resolution {get; set;}
'Declaration
 
Public Property Resolution As LeadSize
'Usage
 
Dim instance As CodecsEcwLoadOptions
Dim value As LeadSize
 
instance.Resolution = value
 
value = instance.Resolution
public LeadSize Resolution {get; set;}
 get_Resolution();
set_Resolution(value);
public:
property LeadSize Resolution {
   LeadSize get();
   void set (    LeadSize value);
}

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.

Scenario 1: If the file contains the image at the following dimensions: 800X600, 400X300 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.

Scenario 2: If the file contains the image at the following dimensions: 800X600, 400X300 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 CodecsEcwOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsEcwLoadOptions Class
CodecsEcwLoadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.