ShowPreview Property


File Open Dialog Show Preview Property

Identifies if the dialog should include a region showing a preview of the selected file.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool ShowPreview { get; set; }

Property Value

Boolean
The default value is false, to not show the preview area in the dialog. If set to true, note that Revit may not be able to show a preview of all possible file types.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →