'Declaration Public Shared Function FromHbitmapWithResolution( _ ByVal workspace As FormFix, _ ByVal bitmap As IntPtr, _ ByVal horizontalResolution As Single, _ ByVal verticalResolution As Single, _ ByVal resolutionUnit As GraphicsUnit _ ) As FormImage
'Usage Dim workspace As FormFix Dim bitmap As IntPtr Dim horizontalResolution As Single Dim verticalResolution As Single Dim resolutionUnit As GraphicsUnit Dim value As FormImage value = FormImage.FromHbitmapWithResolution(workspace, bitmap, horizontalResolution, verticalResolution, resolutionUnit)
public static FormImage FromHbitmapWithResolution( FormFix workspace, IntPtr bitmap, float horizontalResolution, float verticalResolution, GraphicsUnit resolutionUnit )
public: static FormImage* FromHbitmapWithResolution( FormFix* workspace, IntPtr bitmap, float horizontalResolution, float verticalResolution, GraphicsUnit resolutionUnit )
public: static FormImage^ FromHbitmapWithResolution( FormFix^ workspace, IntPtr bitmap, float horizontalResolution, float verticalResolution, GraphicsUnit resolutionUnit )
Parameters
- workspace
- A reference to the FormFix workspace object.
- bitmap
- The WIN32 HBITMAP handle to copy into the new object.
- horizontalResolution
- The horizontal resolution of the image in the units specified by the resolutionUnit parameter.
- verticalResolution
- The vertical resolution of the image in the units specified by the resolutionUnit parameter.
- resolutionUnit
- The measurement unit of the resolution.
Return Value
A new FormImage object that contains a copy of the original image.