Sets a DIB's resolution in X-direction measured in 'dots per inch' (DPI) and not in
'dots per meter'.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static void SetResolutionX( FIBITMAP dib, uint res ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub SetResolutionX ( _ dib As FIBITMAP, _ res As UInteger _ ) |
| Visual C++ |
|---|
public: static void SetResolutionX( FIBITMAP dib, unsigned int res ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- res
- Type: System..::.UInt32
The new resolution in 'dots per inch'.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | dib is null. |