IGH_FileDropTarget

References
public interface IGH_FileDropTarget
Implement this interface in your IGH_DocumentObject if you want to participate in Drag+Drop events.

Methods

AcceptableFile

#
bool AcceptableFile(string path)
Gets a value indicating whether or not the path can be handled by the local object.
path (string)Path to file in question.
True if the file can be handled, false if otherwise.

HandleDrop

#
bool HandleDrop(string path, PointF mouse_pt)
Handle a file drop.
path (string)Path of file to handle.
mouse_pt (PointF)Point at which the drop occured.
True on success, false on failure.