IExternalDataManagerServerGetPreviewImageFile Method

Retrieves the handle of preview image.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
string GetPreviewImageFile(
	Document document,
	ExternalDataManagerDataItemId dataId
)

Parameters

document  Document
The document.
dataId  ExternalDataManagerDataItemId
The id of data.

Return Value

String
The path of the preview image file.
Remarks
Alternative to getPreviewImage: provide a temporary file path that contains the preview bitmap. Useful when the preview is larger than what can reasonably be kept in memory or when the generation happens in another process.
See Also