Click or drag to resize

ZoomPanelViewboxMinSize Property

Gets or sets the System.Size that limits the Viewbox minimum size used by ZoomPanel - the maximum zoom in level.

Namespace:  Ab2d.Controls
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public Size ViewboxMinSize { get; set; }

Property Value

Type: Size
Remarks

By default the content of the ZoomPanel can be freely zoomed in and out and panned to any direction. But it is possible to limit this by ViewboxLimits, ViewboxMinSize and IsViewboxLimited. The ViewboxLimits sets the maximum Viewbox size used by ZoomPanel - maximum zoom out level. The ViewboxMinSize sets the minimum Viewbox size used by ZoomPanel - maximum zoom in level.

For example the value "0.1 0.1" prevent zooming in for more than to show 10% x 10% of the whole content.

Viewbox limits are effective only if IsViewboxLimited property is true.

See Also