Partager via


CrispImage.SetDpi(DependencyObject, Double) Method

Definition

Defines the DPI 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 void SetDpi(System::Windows::DependencyObject ^ element, double value);
public static void SetDpi (System.Windows.DependencyObject element, double value);
static member SetDpi : System.Windows.DependencyObject * double -> unit
Public Shared Sub SetDpi (element As DependencyObject, value As Double)

Parameters

element
DependencyObject

The element.

value
Double

The value.

Applies to