次の方法で共有


CrispImage.SetScaleFactor(DependencyObject, Double) Method

Definition

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

Parameters

element
DependencyObject

The element.

value
Double

The value.

Applies to