Partager via


CrispImage.GetScaleFactor(DependencyObject) Method

Definition

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.

Applies to