Share via


CrispImage.GetDpi(DependencyObject) Method

Definition

Gets the used by the CrispImage objects that are descendants of the element to which this property is attached. If this is 0.0, DefaultDpi is used.

public:
 static double GetDpi(System::Windows::DependencyObject ^ element);
public static double GetDpi (System.Windows.DependencyObject element);
static member GetDpi : System.Windows.DependencyObject -> double
Public Shared Function GetDpi (element As DependencyObject) As Double

Parameters

element
DependencyObject

The element.

Returns

The DPI.

Applies to