Check resolutions of horizontal and vertical. Set to 200 if any of them smaller than 0.00001.
Syntax
'Declaration
Protected Shared Sub CheckAndResetResolution( _
ByRef As Single, _
ByRef As Single _
)
'Usage
Dim horizontalResolution As Single
Dim verticalResolution As Single
FormImage.CheckAndResetResolution(horizontalResolution, verticalResolution)
protected static void CheckAndResetResolution(
ref float ,
ref float
)
protected:
static void CheckAndResetResolution(
float% ,
float%
)
Parameters
- horizontalResolution
- The horizontal resolution
- verticalResolution
- The vertical resolution
See Also