IExternal
|
Retrieves the handle of preview image.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Parameters
- document Document
- The document.
- dataId ExternalDataManagerDataItemId
- The id of data.
Return Value
IntPtrThe handle of the preview image.
Provides a WIN32 HBITMAP handle (or platform equivalent) representing
a small preview (typically 256X256). The dialog takes ownership and
will call DeleteObject when done. Return nullptr if the server cannot
supply a preview or if generating it would be expensive.