[]
Gets or sets a value representing the zoom level for the designer surface.
[Browsable(false)]
public float Zoom { get; set; }
Type | Description |
---|---|
float | A float representing the zoom level. Valid values range from 0.5 (50%) to 4.0 (400%). |
This value determines the scale at which the report is displayed in the designer. Setting the zoom level allows you to view the report at various scales, making it easier to design and review the report layout. The default zoom level is 1.0 (100%), which displays the report at actual size.
private void ResetZoom_Click(object sender, EventArgs e)
{
designer.Zoom = 1;
}
Type | Condition |
---|---|
ArgumentException | Thrown if the set value is outside the allowable range of 0.5 to 4.0. |