DisplayCanvasActualZoomFactor Property

CVB.Net Documentation
Gets the rendered zoom factor of this display.

Namespace:  Stemmer.Cvb.Wpf.Controls
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

[TypeConverterAttribute(typeof(LengthConverter))]
public double ActualZoomFactor { get; }

Property Value

Type: Double
This is the actual value of the rendered control. Default is NaN.

Implements

IDisplayActualZoomFactor
Remarks

This property is a calculated value based on the ZoomFactor and ActualWidth and ActualHeight by the layout system. The value is set by the layout system itself, based on an actual rendering pass, and may therefore lag slightly behind the set value of properties such as ZoomFactor that are the basis of the input change.

Because this value is calculated, you should be aware that there could be multiple or incremental reported changes to it as a result of various operations by the layout system. The layout system may be calculating required measure space for child elements, constraints by the parent element, and so on.

See Also

Reference