Share via


IInkPresenterStencil.Transform Property

Definition

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

Both position and rotation are based on the top left corner of the stencil 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 = iInkPresenterStencil.transform;
iInkPresenterStencil.transform = matrix3x2;
Public Property Transform As Matrix3x2

Property Value

Matrix3x2 Matrix3x2

float3x2

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

Applies to

See also