Udostępnij za pośrednictwem


InkStrokeBuilder.SetDefaultDrawingAttributes(InkDrawingAttributes) Method

Definition

Sets the default InkDrawingAttributes for all new ink strokes created after the current stroke.

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

Note

Use SetDefaultDrawingAttributes when programmatically building strokes for both InkPresenter and InkManager objects.

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.

Applies to

See also