InkModelerAttributes.ScalingFactor 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 scale transform for the coordinate space of the ink stroke.
public:
property float ScalingFactor { float get(); void set(float value); };
float ScalingFactor();
void ScalingFactor(float value);
public float ScalingFactor { get; set; }
var single = inkModelerAttributes.scalingFactor;
inkModelerAttributes.scalingFactor = single;
Public Property ScalingFactor As Single
Property Value
float
The scale factor in himetric units (one thousandth of a centimeter, and independent of the display or screen resolution).
Remarks
When using the InkToolbar, InkModelerAttributes should be set in the InkToolbar.ActiveToolChanged event as attributes are overwritten whenever the active tool is changed.
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