RVTDocs.com

DocumentPreviewSettings.PreviewViewId

Property
Description:
The view id that will be used to generate the preview.
Remarks:
This view will always be saved as the preview view for the document unless it is overridden by the value used in SaveOptions or SaveAsOptions.
Syntax
public ElementId PreviewViewId { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: The view id is not valid to use as a preview view.
ArgumentNullException When setting this property: A non-optional argument was null