IInkCollector::putref_DefaultDrawingAttributes method (msinkaut.h)
Gets or sets the default drawing attributes to use when drawing and displaying ink.
This property is read/write.
Syntax
HRESULT putref_DefaultDrawingAttributes(
IInkDrawingAttributes *NewAttributes
);
Parameters
NewAttributes
Return value
None
Remarks
The drawing attributes specified with this property are the attributes that are assigned to a new cursor.
The default drawing attributes are as follows:
AntiAliased = TRUE
Color = BLACK (RGB(0,0,0)) if not in High Contrast mode; otherwise, Color=COLOR_WINDOWTEXT.
FitToCurve = FALSE
Height = 1 (in ink space units)
IgnorePressure = FALSE
PenTip = Ball
RasterOperation = CopyPen
Transparency = 0 (totally opaque)
Width = 53 (in ink space units)
To set different attributes on a new cursor, use the DrawingAttributes property of the IInkCursor object.
To change the drawing attributes of a single stroke, use the DrawingAttributes property of the IInkStrokeDisp object. To change the drawing attributes of a collection of strokes, call the ModifyDrawingAttributes method of the InkStrokes collection.
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 |