Skip to content

Latest commit

 

History

History
108 lines (63 loc) · 1.65 KB

DragData.md

File metadata and controls

108 lines (63 loc) · 1.65 KB

API categories | API index

DragData (object)

Table of contents:

Methods

IsLink

Return bool

Returns true if the drag data is a link.

IsFragment

Return bool

Returns true if the drag data is a text or html fragment.

GetLinkUrl

Return string

Return the link URL that is being dragged.

GetLinkTitle

Return string

Return the title associated with the link being dragged.

GetFragmentText

Return string

Return the plain text fragment that is being dragged.

GetFragmentHtml

Return string

Return the text/html fragment that is being dragged.

GetImage

Return Image

Description from upstream CEF:

Get the image representation of drag data. May return NULL if no image representation is available.

Check with HasImage() first, otherwise if there is no image an exception is thrown.

GetImageHotspot

Return Image

Get the image hotspot (drag start location relative to image dimensions).

HasImage

Return bool

Returns true if an image representation of drag data is available.