Visual Basic: Windows Controls

CreateDragImage Method

See Also    Example    Applies To

Creates a drag image using a dithered version of an object's associated image. This image is typically used in drag-and-drop operations.

Syntax

object.CreateDragImage

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

The CreateDragImage method is typically used to assign an image to a DragIcon property at the start of a drag-and-drop operation.