OLEDropAllowed property (ILEADRasterView)
BOOL OLEDropAllowed | |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
(Persistent property, available at design time) Determines whether the ILEADRasterView Control will attempt to load an image file that is dropped onto it in a drag-and-drop operation.
If OLEDropAllowed is TRUE, an OLEDropFile event will occur for each file dropped.
The drag-and-drop operation loads the image at its own bits per pixel. If it is a multipage file, only the first page is loaded.
Note: You should set this property to FALSE (0) before closing your window. Otherwise the operating system may not release the window.
Note: When using the ILEADRasterView ActiveX control on a web page, you should set this property to False on the Unload Event. For example, in VBScript this is done as follows:
Sub Window_OnUnload
LEAD1.OLEDropAllowed = False
end Sub
Value |
Meaning |
TRUE |
Loading an image through an OLE drag-and-drop operation is enabled. |
FALSE |
Loading an image through an OLE drag-and-drop operation is disabled. |
See Also
Elements: |
|
Topics: |
|
|