CrispImage.GetScaleFactor(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ScaleFactor that is used when the image may be scaled using a transform, such as for an image in the editor margin when the zoom != 100%. A ScaleFactor of 1 does no scaling.
public:
static double GetScaleFactor(System::Windows::DependencyObject ^ element);
public static double GetScaleFactor (System.Windows.DependencyObject element);
static member GetScaleFactor : System.Windows.DependencyObject -> double
Public Shared Function GetScaleFactor (element As DependencyObject) As Double
Parameters
- element
- DependencyObject
The element.
Returns
The scale factor.