Share via


InkToolbarPenButton.MaxStrokeWidth Property

Definition

Gets or sets the maximum possible Size of an ink stroke.

For ballpoint pen and pencil strokes, MaxStrokeWidth specifies both the maximum Height and Width of a Rectangle pen tip.

For highlighter strokes, MaxStrokeWidth specifies the maximum height of a Rectangle pen tip, while MaxStrokeWidth/3 specifies the maximum width.

Custom pen stroke dimensions can be set as required.

public:
 property double MaxStrokeWidth { double get(); void set(double value); };
double MaxStrokeWidth();

void MaxStrokeWidth(double value);
public double MaxStrokeWidth { get; set; }
var double = inkToolbarPenButton.maxStrokeWidth;
inkToolbarPenButton.maxStrokeWidth = double;
Public Property MaxStrokeWidth As Double

Property Value

Double

double

The maximum possible width of the ink stroke. The default is 0.

Applies to

See also