Gets or sets the document shown by the preview.
Namespace:
C1.Win.C1PreviewAssembly: C1.Win.C1Report.2 (in C1.Win.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(null)] public Object Document { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(Nothing)> _ Public Property Document As Object Get Set |
Examples
The following code displays C1PrintDocument1 in the preview pane:
Copy CodeVisual Basic
Me.C1PrintPreviewControl1.PreviewPane.Document = Me.C1PrintDocument1 |
Copy CodeC#
this.c1PrintPreviewControl1.PreviewPane.Document = this.c1PrintDocument1; |