IInkEdit::get_DrawingAttributes method

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

This property is read/write.


HRESULT get_DrawingAttributes(
  IInkDrawingAttributes **pVal



Return value



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.


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


InkDrawingAttributes Class