PreviewControl
Description:
Constructs a preview control.
Constructs a preview control.
public PreviewControl(
Document document,
ElementId viewId
)
-
documentThe document.
-
viewIdThe view id want to browse in this control.
-
Thrown when dbDocument or viewId isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when the given document is a linked document or the given viewId is invalid or the view is a schedule or other non-graphical view such as schedule views or the project browser view.
-
Thrown when there is an active preview control already.