InkPresenterRuler.Transform Property

Definition

Gets or sets the position and rotation angle of the ruler stencil within the 2-D coordinate space of the InkCanvas.

Both position and rotation are based on the top left corner of the ruler relative to the origin of the InkCanvas.

public:
 property float3x2 Transform { float3x2 get(); void set(float3x2 value); };
float3x2 Transform();

void Transform(float3x2 value);
public Matrix3x2 Transform { get; set; }
var matrix3x2 = inkPresenterRuler.transform;
inkPresenterRuler.transform = matrix3x2;
Public Property Transform As Matrix3x2

Property Value

Matrix3x2 Matrix3x2

float3x2

The position and angle of the ruler as a 3*2 floating point matrix.The default position is the origin of the InkCanvas. The default rotation angle is 45 degrees.

Implements

Applies to

See also