IInkEdit::get_DrawingAttributes method (inked.h)

Gets or sets the drawing attributes for ink that is yet to be drawn on the InkEdit control.

This property is read/write.

Syntax

HRESULT get_DrawingAttributes(
  IInkDrawingAttributes **pVal
);

Parameters

pVal

Return value

None

Remarks

The DrawingAttributes property specifies the appearance of the IInkStrokeDisp object. For example, you can specify the width and color of ink drawn on the InkEdit control.

Successive calls to the DrawingAttributes property change only the DrawingAttributes properties of new IInkStrokeDisp objects. The calls do not apply to IInkStrokeDisp objects that the InkEdit control already collected or is in the process of collecting.

This property is different from the DrawingAttributes property of the IInkStrokeDisp object, which specifies the attributes of already collected ink. The InkEdit control's DrawingAttributes property is more analogous to the InkPicture object's DefaultDrawingAttributes property, except that for the DefaultDrawingAttributes property the FitToCurve property is set to TRUE by default.

Requirements

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

See also

IInkEdit

InkDrawingAttributes Class

InkEdit