Share via


InkToolbarPenButton.SelectedStrokeWidth Property

Definition

Gets or sets the value that specifies the Size of the pen tip used to draw the ink stroke.

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

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

Custom pen stroke dimensions can be set as required.

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

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

Property Value

Double

double

The width used to specify the Size of the pen tip. The default is 0.

Applies to

See also