StretchBitmap Function | |
Display a bitmap stretched or shrunk to fit a window or control.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax FUNCTION StretchBitmap(
hWnd AS IntPtr,
cFileName AS STRING,
cTitle AS STRING
) AS LOGIC
public static bool StretchBitmap(
IntPtr hWnd,
string cFileName,
string cTitle
)
Request Example
View SourceParameters
- hWnd
- Type: IntPtr
Handle of the window or control in which you want to display the bitmap. - cFileName
- Type: String
The bitmap file to display. - cTitle
- Type: String
Caption for the window or control.
Return Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
This function allows you to stretch or shrink a bitmap to fit the current window or control size, and then displays that bitmap.
Examples See Also