Sets the zoom factor to 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 void SetZoomFactor( DependencyObject d, double factor )
Parameters
- d
- Type: System.WindowsDependencyObject
Dependency object to set the zoom factor to. - factor
- Type: SystemDouble
The new 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