DisplayCanvasGetZoomFactor Method

CVB.Net Documentation
Gets the zoom factor from the given dependency object d.

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

[TypeConverterAttribute(typeof(LengthConverter))]
public static double GetZoomFactor(
	DependencyObject d
)

Parameters

d
Type: System.WindowsDependencyObject
Dependency object to get the zoom factor from.

Return Value

Type: Double
The current zoom factor.
Remarks

A zoom factor larger than 1.0 magnifies the displayed image; values smaller than 1.0 zoom out whereas 1.0 displays the image as is (this resembles None). The special value 0.0 identifies the panorama or stretch mode which resembles Uniform (the default). Values smaller 0.0 are invalid.

This method makes the attached property accessible from XAML.

See Also

Reference