This document is archived and information here might be outdated.  Recommended version.


IARControlDefault.EnableFileDrop Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

IARControlDefault.EnableFileDrop Property

Indicates whether Published Map Files can be dropped onto the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Indicates if the ArcReaderControl will load Published Map Files (*.pmf) by the user interactively dropping files onto the ArcReaderControl from other applications such as ArcCatalog or Windows Explorer. The ArcReaderControl itself will determine if the file that has been dropped is a PMF document that can be loaded into the ArcReaderControl.

By default dragging a file over the ArcReaderControl will cause the mouse cursor to change to an �add data� cursor. Setting the EnableFileDrop property to False, will cause the mouse cursor to change to a �no entry� cursor when files are dragged over the ArcReaderControl. 

If a document is successfully loaded the CurrentView and the CurrentARTool will be set. The default CurrentARTool  is specified by the �DefaultDataTool� and �DefaultLayoutTool� settings in the ARConfiguration. The DocumentFilename property will update itself with the path and filename of the currently loaded document, and the DocumentComment property to update itself with any comments that were supplied by the publisher of the document.

 

See Also

IARControlDefault Interface