This document is archived and information here might be outdated. Recommended version. |
If specified DataObject format can be retrieved, returns the data as safe array of bytes.
[Visual Basic .NET] Public Function GetData ( _ ByVal format As Integer _ ) As Object
[C#] public object GetData ( int format );
[C++]
HRESULT GetData(
long format
);
[C++]
Parameters format [in]
format is a parameter of type long
Returns a safe array of bytes from the DataObject, given the specified format. This safe arrray is not processed in anyway. Typically used when dropping data onto the PageLayoutControl and MapControl from other applications.
1026 800A0402: The requested data format was not found in the DataObject
1027 800A0403: Data could not be retrieved from the DataObject