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# |
---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DefaultValueAttribute(null)] public Object Document { get; set; } |
Visual Basic |
---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ <DefaultValueAttribute(Nothing)> _ Public Property Document As Object Get Set |
Examples
The following code displays a C1PrintDocument in the C1PrintPreviewControl:
Copy CodeVisual Basic
Me.C1PrintPreviewControl1.Document = Me.C1PrintDocument1 |
Copy CodeC#
this.c1PrintPreviewControl1.Document = this.c1PrintDocument1; |