InkToolbarHighlighterButton
InkToolbarHighlighterButton
InkToolbarHighlighterButton
InkToolbarHighlighterButton
Class
Definition
Represents an InkToolbar toggle button control that activates the built-in highlighter pen.
public : class InkToolbarHighlighterButton : InkToolbarPenButton, IInkToolbarHighlighterButtonpublic class InkToolbarHighlighterButton : InkToolbarPenButton, IInkToolbarHighlighterButtonPublic Class InkToolbarHighlighterButton Inherits InkToolbarPenButton Implements IInkToolbarHighlighterButton// This API is not available in Javascript.
- Inheritance
-
InkToolbarHighlighterButtonInkToolbarHighlighterButtonInkToolbarHighlighterButtonInkToolbarHighlighterButton
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Inherited Members
Inherited properties
Inherited events
Inherited methods
Remarks
The highlighter draws a semi-transparent stroke with a Rectangle PenTip.
The InkToolbar consists of two distinct groups of button types:
One group of "tool" buttons containing the built-in drawing (InkToolbarBallpointPenButton, InkToolbarPencilButton ), erasing (InkToolbarEraserButton ), and highlighting (InkToolbarHighlighterButton ) buttons. Custom tools (InkToolbarCustomPenButton and InkToolbarCustomToolButton ) are added here.
Feature selection is mutually exclusive.
A second group of "toggle" buttons containing the built-in ruler (InkToolbarRulerButton ) button. Custom toggles (InkToolbarCustomToggleButton ) are added here.
Features are not mutually exclusive and can be used concurrently with other active tools.
InkToolbarHighlighterButton inherits from InkToolbarPenButton.
By default, the stroke height is 36 pixels and the width is 12 pixels.
The size (in Device-Independent Pixels) of the highlighter stroke is obtained from the InkDrawingAttributes setting for Size —the stroke height is set to Size.Width and the stroke width is set to Size.Width /3.
Constructors
InkToolbarHighlighterButton() InkToolbarHighlighterButton() InkToolbarHighlighterButton() InkToolbarHighlighterButton()
Initializes a new instance of the InkToolbarHighlighterButton class.
public : InkToolbarHighlighterButton()public InkToolbarHighlighterButton()Public Sub New()// This API is not available in Javascript.