IInkPresenterStencil.Transform Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample