Gets or sets a value indicating whether the user is allowed to hide/show margins
by double-clicking the mouse in the gap between pages.
Namespace:
C1.Win.C1PreviewAssembly: C1.Win.C1Report.2 (in C1.Win.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(HideMarginsFlags.All)] public HideMarginsFlags HideMargins { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(HideMarginsFlags.All)> _ Public Property HideMargins As HideMarginsFlags Get Set |
Remarks
The default value for this property is All.
Examples
The following code hides the horizontal margin hide/show arrows, so the left and right margins cannot be hidden. Only vertical, or top and bottom, margins can be hidden and shown with the hide/show arrows.
Copy CodeVisual Basic
Me.C1PrintPreviewControl1.PreviewPane.HideMargins = C1.Win.C1Preview.HideMarginsFlags.Horizontal |
Copy CodeC#
this.c1PrintPreviewControl1.PreviewPane.HideMargins = C1.Win.C1Preview.HideMarginsFlags.Horizontal; |