DisplayImageOnHwnd Method

See Also     Examples     Applies To

Displays the native GdPicture image into a window defined by a Win32 Window Handle.

Syntax

object.DisplayImageOnHwnd (nHWND, nDstLeft, nDstTop, nDstWidth, nDstHeight, nInterpolationMode)

The DisplayImageOnHwnd syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nHWND Required. Long. A Win32 Window Handle.
nDstLeft Required. Long. Left pixel destination of the window.
nDstTop Required. Long. Top pixel destination of the window.
nDstWidth Required. Long. Width in pixel of the drawn image.
nDstHeight Required. Long. Height in pixel of the drawn image.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long. GdPictureStatus

Category

Display an image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.