[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Wpf.Viewer.Zoom

Zoom Property

Zoom

Gets or sets the viewer's zoom level.

Declaration
public float Zoom { get; set; }
Property Value
Type Description
float

A float representing the zoom level.

Remarks

The zoom level of the viewer can be set to:

  • -1 indicates Fit Width mode,
  • -2 indicates Fit Whole Page mode,
  • A positive value indicates a specific zoom level (e.g., 1.0 for 100%).
The default value is 1.0.
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when the value is less than -2 or equal to 0.