InkManager.SetDefaultDrawingAttributes(InkDrawingAttributes) Method

Definition

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Sets the default InkDrawingAttributes for all new InkStroke objects added to the InkStroke collection managed by the InkManager.

SetDefaultDrawingAttributes does not affect the current stroke, or any existing strokes.

public:
 virtual void SetDefaultDrawingAttributes(InkDrawingAttributes ^ drawingAttributes) = SetDefaultDrawingAttributes;
void SetDefaultDrawingAttributes(InkDrawingAttributes const& drawingAttributes);
public void SetDefaultDrawingAttributes(InkDrawingAttributes drawingAttributes);
function setDefaultDrawingAttributes(drawingAttributes)
Public Sub SetDefaultDrawingAttributes (drawingAttributes As InkDrawingAttributes)

Parameters

drawingAttributes
InkDrawingAttributes

The default attributes applied to a new ink stroke.

Applies to

See also