Sdílet prostřednictvím


InkPresenter.UpdateDefaultDrawingAttributes(InkDrawingAttributes) Method

Definition

Sets the InkDrawingAttributes used by the InkPresenter when rendering a new InkStroke on an InkCanvas control.

This method is used in conjunction with CopyDefaultDrawingAttributes to set drawing attributes at run time.

public:
 virtual void UpdateDefaultDrawingAttributes(InkDrawingAttributes ^ value) = UpdateDefaultDrawingAttributes;
void UpdateDefaultDrawingAttributes(InkDrawingAttributes const& value);
public void UpdateDefaultDrawingAttributes(InkDrawingAttributes value);
function updateDefaultDrawingAttributes(value)
Public Sub UpdateDefaultDrawingAttributes (value As InkDrawingAttributes)

Parameters

value
InkDrawingAttributes

The drawing attributes for new ink strokes.

Remarks

This method does not return the attributes of existing, or currently drawing, ink strokes.

Applies to

See also