InkPicture Properties
This section contains Properties for the InkPicture Control.
Property | Description |
---|---|
AutoRedraw Property | Gets or sets a value that specifies whether the InkPicture control repaints when the window is invalidated (whether the InkDisp object currently associated with InkPicture control is automatically redrawn when the window associated with the InkPicture receives a WM_PAINT message). |
BackColor | Gets or sets the background color for the InkPicture control. The default background color is the system window background color, which is typically white. |
CollectingInk Property | Gets the value that specifies whether the InkPicture control is collecting ink (run time only). |
CollectionMode | Gets or sets the collection mode that determines whether ink, gestures, or ink and gestures are recognized as the user writes. |
Cursors Property | Gets the IInkCursors collection available for use in the InkPicture control's inking region. |
CustomStrokes | Gets the IInkCustomStrokes collection to be persisted with the ink (design-time only). |
DefaultDrawingAttributes Property | Gets or sets the default InkDrawingAttributes collection to use when drawing and displaying ink (run time only). |
DesiredPacketDescription Property | Gets or sets the packet description of the InkPicture control (run time only). |
DynamicRendering Property | Gets or sets the value that specifies whether the InkPicture control dynamically renders the ink as it is collected. |
EditingMode | Gets or sets a value that specifies whether the InkPicture control is in ink mode, deletion mode, or selecting/editing mode. |
Enabled | Gets or sets a value that determines whether the InkPicture control can respond to user-generated events. Note: This property is equivalent to the InkEnabled property. |
EraserMode | Gets or sets the value that specifies whether ink is erased by stroke or by point. |
EraserWidth | Gets or sets the value that specifies the width of the eraser pen tip. |
hWnd | Gets the window handle to which the InkPicture control is bound. (run time only) |
Ink | Gets or sets the InkDisp object that is associated with the InkPicture control (run time only). |
InkEnabled | Gets or sets a value that specifies whether the InkPicture control collects pen input (in-air packets, cursor in range events, and so on). |
MarginX Property | Gets or sets the x-axis margin around the window rectangle in screen coordinates. |
MarginY Property | Gets or sets the y-axis margin around the window rectangle in screen coordinates. |
MouseIcon Property | Gets or sets the current custom mouse icon. |
MousePointer Property | Gets or sets a value that indicates the type of mouse pointer that appears when the mouse is over a particular part of the InkPicture control. |
Picture | Gets the graphics file to appear on the InkPicture control. |
Renderer Property | Gets or sets the InkRenderer object that is used to draw ink on the InkPicture control (run time only). |
Selection | Gets the InkStrokes collection currently selected inside the InkPicture control (run time only). |
SizeMode | Gets or sets how the control handles image placement and sizing. |
SupportHighContrastInk Property | Gets a value that specifies whether ink is rendered as just one color, Color = COLOR_WINDOWTEXT (from the GetSystemMetrics call) when the system is in High Contrast mode. |
SupportHighContrastSelectionUI | Gets or sets a value that specifies whether all selection user interfaces (selection bounding box and selection handles) are drawn in high contrast when the system is in High Contrast mode. |
Tablet Property | Gets the IInkTablet object that the InkPicture control is currently using to collect input. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for