Gets or sets the maximum allowed zoom factor.
Namespace:
C1.Win.C1PreviewAssembly: C1.Win.C1Report.2 (in C1.Win.C1Report.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute()] public double MaxZoomFactor { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute()> _ Public Property MaxZoomFactor As Double Get Set |
Remarks
The default value for this property is 10.
Examples
The following example sets the MaxZoomFactor to 200%:
Copy CodeVisual Basic
Me.C1PrintPreviewControl1.PreviewPane.MaxZoomFactor = 2 |
Copy CodeC#
this.c1PrintPreviewControl1.PreviewPane.MaxZoomFactor = 2; |