The view id that will be used to generate the preview; this id is not saved to the document's permanent settings.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.13)
Since:
2012
Syntax
C# |
---|
public ElementId PreviewViewId { get; set; } |
Visual Basic |
---|
Public Property PreviewViewId As ElementId
Get
Set |
Field Value
The id must be valid for use as a preview view (check DocumentPreviewSettings.IsViewIdValidForPreview()).
Revit does not check validity when setting this value, only when the options are used in a call to SaveAs().
Remarks
Exceptions
See Also