Udostępnij za pośrednictwem


InkPresenter.CopyDefaultDrawingAttributes Method

Definition

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

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

public:
 virtual InkDrawingAttributes ^ CopyDefaultDrawingAttributes() = CopyDefaultDrawingAttributes;
InkDrawingAttributes CopyDefaultDrawingAttributes();
public InkDrawingAttributes CopyDefaultDrawingAttributes();
function copyDefaultDrawingAttributes()
Public Function CopyDefaultDrawingAttributes () As InkDrawingAttributes

Returns

The drawing attributes applied to a new ink stroke.

Remarks

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

Applies to

See also