InkDrawingAttributes.PencilProperties 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 an instance of an InkDrawingAttributesPencilProperties object for setting properties characteristic to a pencil stroke.
public:
property InkDrawingAttributesPencilProperties ^ PencilProperties { InkDrawingAttributesPencilProperties ^ get(); };
InkDrawingAttributesPencilProperties PencilProperties();
public InkDrawingAttributesPencilProperties PencilProperties { get; }
var inkDrawingAttributesPencilProperties = inkDrawingAttributes.pencilProperties;
Public ReadOnly Property PencilProperties As InkDrawingAttributesPencilProperties
Property Value
An InkDrawingAttributesPencilProperties used to set pencil stroke properties.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
By default, a pencil draws a soft-edged, textured, and semi-transparent stroke (useful for layered shading effects) with a Circle PenTip. The stroke color (darkness) is dependent on the pen pressure detected.
Applies to
See also
- InkToolbar
- InkToolbarPencilButton
- 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