Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
Resolution Property
See Also 
Leadtools.Codecs Namespace > CodecsFpxLoadOptions Class : Resolution Property




Gets or sets the resolution to load.

Syntax

Visual Basic (Declaration) 
Public Property Resolution As Size
Visual Basic (Usage)Copy Code
Dim instance As CodecsFpxLoadOptions
Dim value As Size
 
instance.Resolution = value
 
value = instance.Resolution
C# 
public Size Resolution {get; set;}
Managed Extensions for C++ 
public: __property Size get_Resolution();
public: __property void set_Resolution( 
   Size value
);
C++/CLI 
public:
property Size Resolution {
   Size get();
   void set (Size value);
}

Return Value

The resolution to load.

Example

For an example, refer to CodecsFpxOptions.

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, 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.

Ex: 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also