IInkDrawingAttributes::put_PenTip method (msinkaut.h)

Gets or sets a value that indicates which pen tip to use when drawing ink that is associated with this InkDrawingAttributes object.

This property is read/write.

Syntax

HRESULT put_PenTip(
  InkPenTip NewPenTip
);

Parameters

NewPenTip

Return value

None

Remarks

For a complete list of pen tips available to use, see the InkPenTip enumeration.

When this property is set to InkPenTip.IPT_Ball, the Height property is ignored.

To create a square pen tip, set the PenTip property to InkPenTip.IPT_Rectangle. Then set the Height property equal to the Width property.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

Height Property [InkDrawingAttributes Class]

IInkDrawingAttributes

InkDrawingAttributes Class

InkPenTip Enumeration

Width Property [InkDrawingAttributes Class]