다음을 통해 공유


InkPicture Class

InkPicture Class

The InkPicture control provides the ability to place an image in an application and enable users to add ink on top of it. It is intended for scenarios in which ink is not recognized as text but is instead stored as ink.

Definition

Visual Basic .NET Public Class InkPicture
Inherits PictureBox
C# public class InkPicture : PictureBox
Managed C++ public __gc class InkPicture : public PictureBox

Members Table

The following table lists the members exposed by the object.

Events

Event Description
AutoSizeChanged Leave Site [To be supplied.] Inherited from Control Leave Site.
BackColorChanged Leave Site Occurs when the value of the BackColor Leave Site property changes. Inherited from Control Leave Site.
BackgroundImageChanged Leave Site Occurs when the value of the BackgroundImage Leave Site property changes. Inherited from Control Leave Site.
BackgroundImageLayoutChanged Leave Site Occurs when the BackgroundImageLayout Leave Site property changes. Inherited from Control Leave Site.
BindingContextChanged Leave Site Occurs when the value of the BindingContext Leave Site property changes. Inherited from Control Leave Site.
CausesValidationChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
ChangeUICues Leave Site Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control Leave Site.
Click Leave Site Occurs when the control is clicked. Inherited from Control Leave Site.
ContextMenuChanged Leave Site Occurs when the value of the ContextMenu Leave Site property changes. Inherited from Control Leave Site.
ControlAdded Leave Site Occurs when a new control is added to the ControlCollection Leave Site. Inherited from Control Leave Site.
ControlRemoved Leave Site Occurs when a control is removed from the ControlCollection Leave Site. Inherited from Control Leave Site.
CursorButtonDown Occurs when the InkPicture detects a cursor button that is down.
CursorButtonUp Occurs when the InkPicture detects a cursor button that is up.
CursorChanged Leave Site Occurs when the value of the Cursor Leave Site property changes. Inherited from Control Leave Site.
CursorDown Occurs when the cursor tip contacts the digitizing tablet surface.
CursorInRange Occurs when a cursor enters the physical detection range (proximity) of the tablet context.
CursorOutOfRange Occurs when a cursor leaves the physical detection range (proximity) of the tablet context.
Disposed Leave Site Inherited from Component Leave Site.
DockChanged Leave Site Occurs when the value of the Dock Leave Site property changes. Inherited from Control Leave Site.
DoubleClick Leave Site Occurs when the control is double-clicked. Inherited from Control Leave Site.
DragDrop Leave Site Occurs when a drag-and-drop operation is completed. Inherited from Control Leave Site.
DragEnter Leave Site Occurs when an object is dragged into the control's bounds. Inherited from Control Leave Site.
DragLeave Leave Site Occurs when an object is dragged out of the control's bounds. Inherited from Control Leave Site.
DragOver Leave Site Occurs when an object is dragged over the control's bounds. Inherited from Control Leave Site.
EnabledChanged Leave Site Occurs when the Enabled Leave Site property value has changed. Inherited from Control Leave Site.
Enter Leave Site Inherited from PictureBox Leave Site.
FontChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
ForeColorChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
Gesture Occurs when an application-specific gesture is recognized.
GiveFeedback Leave Site Occurs during a drag operation. Inherited from Control Leave Site.
GotFocus Leave Site Occurs when the control receives focus. Inherited from Control Leave Site.
HandleCreated Leave Site Occurs when a handle is created for the control. Inherited from Control Leave Site.
HandleDestroyed Leave Site Occurs when the control's handle is in the process of being destroyed. Inherited from Control Leave Site.
HelpRequested Leave Site Occurs when the user requests help for a control. Inherited from Control Leave Site.
ImeModeChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
Invalidated Leave Site Occurs when a control's display requires redrawing. Inherited from Control Leave Site.
KeyDown Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
KeyPress Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
KeyUp Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
Layout Leave Site Occurs when a control should reposition its child controls. Inherited from Control Leave Site.
Leave Leave Site Inherited from PictureBox Leave Site.
LoadCompleted Leave Site Inherited from PictureBox Leave Site.
LoadProgressChanged Leave Site Inherited from PictureBox Leave Site.
LocationChanged Leave Site Occurs when the Location Leave Site property value has changed. Inherited from Control Leave Site.
LostFocus Leave Site Occurs when the control loses focus. Inherited from Control Leave Site.
MouseCaptureChanged Leave Site Occurs when the control loses mouse capture. Inherited from Control Leave Site.
MouseClick Leave Site Occurs when the control is clicked by the mouse. Inherited from Control Leave Site.
MouseDoubleClick Leave Site Occurs when the control is double clicked by the mouse. Inherited from Control Leave Site.
MouseDown Leave Site Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control Leave Site.
MouseEnter Leave Site Occurs when the mouse pointer enters the control. Inherited from Control Leave Site.
MouseHover Leave Site Occurs when the mouse pointer hovers over the control. Inherited from Control Leave Site.
MouseLeave Leave Site Occurs when the mouse pointer leaves the control. Inherited from Control Leave Site.
MouseMove Leave Site Occurs when the mouse pointer is moved over the control. Inherited from Control Leave Site.
MouseUp Leave Site Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control Leave Site.
MouseWheel Leave Site Occurs when the mouse wheel moves while the control has focus. Inherited from Control Leave Site.
Move Leave Site Occurs when the control is moved. Inherited from Control Leave Site.
NewInAirPackets Occurs when an in-air packet is seen, which happens when a user moves a pen near the tablet and the cursor is within the InkPicture or the user moves a mouse within the InkPicture.
NewPackets Occurs when the InkPicture receives packets.
Paint Leave Site Occurs when the control is redrawn. Inherited from Control Leave Site.
Painted Occurs when the InkPicture object has completed redrawing itself.
Painting Occurs before the InkPicture object redraws itself.
ParentChanged Leave Site Occurs when the Parent Leave Site property value changes. Inherited from Control Leave Site.
QueryAccessibilityHelp Leave Site Occurs when AccessibleObject Leave Site is providing help to accessibility applications. Inherited from Control Leave Site.
QueryContinueDrag Leave Site Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control Leave Site.
Resize Leave Site Occurs when the control is resized. Inherited from Control Leave Site.
ResizeBegin Leave Site Occurs when the user begins to resize a control. Inherited from Control Leave Site.
ResizeEnd Leave Site Occurs when the user stops resizing a control. Inherited from Control Leave Site.
RightToLeftChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
SelectionChanged Occurs when the selection of ink within the control has changed, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SelectionChanging Occurs when the selection of ink within the control is about to change, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SelectionMoved Occurs when the position of the current selection has changed, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SelectionMoving Occurs when the position of the current selection is about to change, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SelectionResized Occurs when the size of the current selection has changed, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SelectionResizing Occurs when the size of the current selection is about to change, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.
SizeChanged Leave Site Occurs when the Size Leave Site property value changes. Inherited from Control Leave Site.
SizeModeChanged Leave Site Occurs when SizeMode Leave Site changes. Inherited from PictureBox Leave Site.
Stroke Occurs when the user finishes drawing a new stroke on any tablet.
StrokesDeleted Occurs after strokes have been deleted from the Ink property.
StrokesDeleting Occurs before strokes are deleted from the Ink property.
StyleChanged Leave Site Occurs when the control style changes. Inherited from Control Leave Site.
SystemColorsChanged Leave Site Occurs when the system colors change. Inherited from Control Leave Site.
SystemGesture Occurs when a system gesture is recognized.
TabIndexChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
TabletAdded Occurs when a Tablet is added to the system.
TabletRemoved Occurs when a Tablet is removed from the system.
TabStopChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
TextChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
Validated Leave Site Occurs when the control is finished validating. Inherited from Control Leave Site.
Validating Leave Site Occurs when the control is validating. Inherited from Control Leave Site.
VisibleChanged Leave Site Occurs when the Visible Leave Site property value changes. Inherited from Control Leave Site.

Fields

Field Description
ClipInkToMargin Not implemented.
DefaultMargin Returns the default margin used by the MarginX and MarginY properties.

Methods

Method Description
AccessibilityNotifyClients Leave Site Notifies the accessibility client applications of the specified AccessibleEvents Leave Site for the specified child control. Inherited from Control Leave Site.
BeginInvoke Leave Site Executes a delegate asynchronously on the thread that the control's underlying handle was created on. Inherited from Control Leave Site.
BringToFront Leave Site Brings the control to the front of the z-order. Inherited from Control Leave Site.
CancelAsync Leave Site Inherited from PictureBox Leave Site.
Contains Leave Site Retrieves a value indicating whether the specified control is a child of the control. Inherited from Control Leave Site.
CreateAccessibilityInstance Leave Site Creates a new accessibility object for the control. Inherited from Control Leave Site.
CreateControl Leave Site Forces the creation of the control, including the creation of the handle and any child controls. Inherited from Control Leave Site.
CreateControlsInstance Leave Site Creates a new instance of the control collection for the control. Inherited from Control Leave Site.
CreateGraphics Leave Site Creates the Graphics Leave Site object for the control. Inherited from Control Leave Site.
CreateHandle Leave Site Creates a handle for the control. Inherited from Control Leave Site.
DefWndProc Leave Site Sends the specified message to the default window procedure. Inherited from Control Leave Site.
DestroyHandle Leave Site Destroys the handle associated with the control. Inherited from Control Leave Site.
Dispose Leave Site Inherited from Component Leave Site.
Dispose Releases resources used by the InkPicture object.
DoDragDrop Leave Site Begins a drag-and-drop operation. Inherited from Control Leave Site.
EndInvoke Leave Site Retrieves the return value of the asynchronous operation represented by the IAsyncResult Leave Site object passed. Inherited from Control Leave Site.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Inherited from Component Leave Site.
FindForm Leave Site Retrieves the form that the control is on. Inherited from Control Leave Site.
Focus Leave Site Sets input focus to the control. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)FromChildHandle Leave Site Retrieves the control that contains the specified handle. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)FromHandle Leave Site Returns the control that is currently associated with the specified handle. Inherited from Control Leave Site.
GetChildAtPoint Leave Site Retrieves the child control that is located at the specified coordinates. Inherited from Control Leave Site.
GetContainerControl Leave Site Returns the next ContainerControl Leave Site up the control's chain of parent controls. Inherited from Control Leave Site.
GetGestureStatus Returns a value that indicates whether the InkPicture control has interest in a particular application gesture.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetNextControl Leave Site Retrieves the next control forward or back in the tab order of child controls. Inherited from Control Leave Site.
GetPreferredSize Leave Site Retrieves the size of a rectangular area into which a control can be fitted. Inherited from Control Leave Site.
GetService Leave Site Inherited from Component Leave Site.
GetStyle Leave Site Retrieves the value of the specified control style bit for the control. Inherited from Control Leave Site.
GetTopLevel Leave Site Determines if the control is a top-level control. Inherited from Control Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
GetWindowInputRectangle Gets the window rectangle, in pixels, within which ink is drawn.
Hide Leave Site Conceals the control from the user. Inherited from Control Leave Site.
HitTestSelection Returns a value that indicates which part of a selection, if any, was hit during a hit test.
IEnablable.Disable Leave Site Inherited from Control Leave Site.
IEnablable.Enable Leave Site Inherited from Control Leave Site.
InitLayout Leave Site Called after the control has been added to another container. Inherited from Control Leave Site.
InkPicture Initializes a new instance of the InkPicture control.
Invalidate Leave Site Invalidates a specific region of the control and causes a paint message to be sent to the control. Inherited from Control Leave Site.
Invoke Leave Site Executes a delegate on the thread that owns the control's underlying window handle. Inherited from Control Leave Site.
InvokeGotFocus Leave Site Raises the GotFocus Leave Site event for the specified control. Inherited from Control Leave Site.
InvokeLostFocus Leave Site Raises the LostFocus Leave Site event for the specified control. Inherited from Control Leave Site.
InvokeOnClick Leave Site Raises the Click Leave Site event for the specified control. Inherited from Control Leave Site.
InvokePaint Leave Site Raises the Paint Leave Site event for the specified control. Inherited from Control Leave Site.
InvokePaintBackground Leave Site Raises the PaintBackground event for the specified control. Inherited from Control Leave Site.
IsInputChar Leave Site Determines if a character is an input character that the control recognizes. Inherited from Control Leave Site.
IsInputKey Leave Site Determines whether the specified key is a regular input key or a special key that requires preprocessing. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)IsKeyLocked Leave Site Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)IsMnemonic Leave Site Determines if the specified character is the mnemonic character assigned to the control in the specified string. Inherited from Control Leave Site.
ISupportInitialize.BeginInit Leave Site Inherited from PictureBox Leave Site.
ISupportInitialize.EndInit Leave Site Inherited from PictureBox Leave Site.
Load Leave Site Inherited from PictureBox Leave Site.
LoadAsync Leave Site Inherited from PictureBox Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
NotifyInvalidate Leave Site Raises the Invalidated Leave Site event with a specified region of the control to invalidate. Inherited from Control Leave Site.
OnAutoSizeChanged Leave Site [To be supplied.] Inherited from Control Leave Site.
OnBackColorChanged Leave Site Raises the BackColorChanged Leave Site event. Inherited from Control Leave Site.
OnBackgroundImageChanged Leave Site Raises the BackgroundImageChanged Leave Site event. Inherited from Control Leave Site.
OnBackgroundImageLayoutChanged Leave Site Raises the BackgroundImageLayoutChanged Leave Site event. Inherited from Control Leave Site.
OnBindingContextChanged Leave Site Raises the BindingContextChanged Leave Siteevent. Inherited from Control Leave Site.
OnCausesValidationChanged Leave Site Raises the CausesValidationChanged Leave Siteevent. Inherited from Control Leave Site.
OnChangeUICues Leave Site Raises the ChangeUICues Leave Site event. Inherited from Control Leave Site.
OnClick Leave Site Raises the Click Leave Site event. Inherited from Control Leave Site.
OnContextMenuChanged Leave Site Raises the ContextMenuChanged Leave Siteevent. Inherited from Control Leave Site.
OnControlAdded Leave Site Raises the ControlAdded Leave Site event. Inherited from Control Leave Site.
OnControlRemoved Leave Site Raises the ControlRemoved Leave Site event. Inherited from Control Leave Site.
OnCreateControl Leave Site Raises the CreateControl Leave Site event. Inherited from Control Leave Site.
OnCursorButtonDown Allows derived classes to modify the default behavior of the CursorButtonDown event.
OnCursorButtonUp Allows derived classes to modify the default behavior of the CursorButtonUp event.
OnCursorChanged Leave Site Raises the CursorChanged Leave Siteevent. Inherited from Control Leave Site.
OnCursorDown Allows derived classes to modify the default behavior of the CursorDown event.
OnCursorInRange Allows derived classes to modify the default behavior of the CursorInRange event.
OnCursorOutOfRange Allows derived classes to modify the default behavior of the CursorOutOfRange event.
OnDockChanged Leave Site Raises the DockChanged Leave Siteevent. Inherited from Control Leave Site.
OnDoubleClick Leave Site Raises the DoubleClick Leave Site event. Inherited from Control Leave Site.
OnDragDrop Leave Site Raises the DragDrop Leave Site event. Inherited from Control Leave Site.
OnDragEnter Leave Site Raises the DragEnter Leave Site event. Inherited from Control Leave Site.
OnDragLeave Leave Site Raises the DragLeave Leave Site event. Inherited from Control Leave Site.
OnDragOver Leave Site Raises the DragOver Leave Site event. Inherited from Control Leave Site.
OnEnabledChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
OnEnter Leave Site Raises the Enter Leave Site event. Inherited from Control Leave Site.
OnFontChanged Leave Site Raises the FontChanged Leave Siteevent. Inherited from Control Leave Site.
OnForeColorChanged Leave Site Raises the ForeColorChanged Leave Siteevent. Inherited from Control Leave Site.
OnGesture Allows derived classes to modify the default behavior of the Gesture event.
OnGiveFeedback Leave Site Raises the GiveFeedback Leave Site event. Inherited from Control Leave Site.
OnGotFocus Leave Site Raises the GotFocus Leave Site event. Inherited from Control Leave Site.
OnHandleCreated Allows derived classes to modify the default behavior of the HandleCreated Leave Site event.
OnHandleDestroyed Allows derived classes to modify the default behavior of the HandleDestroyed Leave Site event.
OnHelpRequested Leave Site Raises the HelpRequested Leave Site event. Inherited from Control Leave Site.
OnImeModeChanged Leave Site Raises the ImeModeChanged Leave Site event. Inherited from Control Leave Site.
OnInvalidated Leave Site Raises the Invalidated Leave Site event. Inherited from Control Leave Site.
OnKeyDown Allows derived classes to modify the default behavior of the KeyDown Leave Site event.
OnKeyPress Leave Site Raises the KeyPress Leave Site event. Inherited from Control Leave Site.
OnKeyUp Leave Site Raises the KeyUp Leave Site event. Inherited from Control Leave Site.
OnLayout Leave Site Raises the Layout Leave Site event. Inherited from Control Leave Site.
OnLeave Leave Site Raises the Leave Leave Site event. Inherited from Control Leave Site.
OnLoadCompleted Leave Site Inherited from PictureBox Leave Site.
OnLoadProgressChanged Leave Site Inherited from PictureBox Leave Site.
OnLocationChanged Leave Site Raises the LocationChanged Leave Site event. Inherited from Control Leave Site.
OnLostFocus Leave Site Raises the LostFocus Leave Site event. Inherited from Control Leave Site.
OnMouseCaptureChanged Leave Site Raises the MouseCaptureChanged Leave Site event. Inherited from Control Leave Site.
OnMouseClick Leave Site Raises the MouseClick Leave Site event. Inherited from Control Leave Site.
OnMouseDoubleClick Leave Site Raises the MouseDoubleClick Leave Site event. Inherited from Control Leave Site.
OnMouseDown Allows derived classes to modify the default behavior of the MouseDown Leave Site event.
OnMouseEnter Leave Site Raises the MouseEnter Leave Site event. Inherited from Control Leave Site.
OnMouseHover Leave Site Raises the MouseHover Leave Site event. Inherited from Control Leave Site.
OnMouseLeave Leave Site Raises the MouseLeave Leave Site event. Inherited from Control Leave Site.
OnMouseMove Leave Site Raises the MouseMove Leave Site event. Inherited from Control Leave Site.
OnMouseUp Leave Site Raises the MouseUp Leave Site event. Inherited from Control Leave Site.
OnMouseWheel Leave Site Raises the MouseWheel Leave Site event. Inherited from Control Leave Site.
OnMove Leave Site Raises the Move Leave Site event. Inherited from Control Leave Site.
OnNewInAirPackets Allows derived classes to modify the default behavior of the NewInAirPackets event.
OnNewPackets Allows derived classes to modify the default behavior of the NewPackets event.
OnNotifyMessage Leave Site Notifies the control of Windows messages. Inherited from Control Leave Site.
OnPaint Leave Site Overridden onPaint to make sure that the image is painted correctly. Inherited from PictureBox Leave Site.
OnPaintBackground Leave Site Paints the background of the control. Inherited from Control Leave Site.
OnPainted Allows derived classes to modify the default behavior of the Painted event.
OnPainting Allows derived classes to modify the default behavior of the Painting event.
OnParentBackColorChanged Leave Site Raises the BackColorChanged Leave Site event when the BackColor Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentBackgroundImageChanged Leave Site Raises the BackgroundImageChanged Leave Site event when the BackgroundImage Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentBindingContextChanged Leave Site Raises the BindingContextChanged Leave Site event when the BindingContext Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
OnParentEnabledChanged Leave Site Raises the EnabledChanged Leave Site event when the Enabled Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentFontChanged Leave Site Raises the FontChanged Leave Site event when the Font Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentForeColorChanged Leave Site Raises the ForeColorChanged Leave Site event when the ForeColor Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentRightToLeftChanged Leave Site Raises the RightToLeftChanged Leave Site event when the RightToLeft Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnParentVisibleChanged Leave Site Raises the VisibleChanged Leave Site event when the Visible Leave Site property value of the control's container changes. Inherited from Control Leave Site.
OnQueryContinueDrag Leave Site Raises the QueryContinueDrag Leave Site event. Inherited from Control Leave Site.
OnResize Leave Site OnResize override to invalidate entire control in Stetch mode Inherited from PictureBox Leave Site.
OnResizeBegin Leave Site Raises the ResizeBegin Leave Site event. Inherited from Control Leave Site.
OnResizeEnd Leave Site Raises the ResizeEnd Leave Site event. Inherited from Control Leave Site.
OnRightToLeftChanged Leave Site Raises the RightToLeftChanged Leave Site event. Inherited from Control Leave Site.
OnSelectionChanged Allows derived classes to modify the default behavior of the SelectionChanged event.
OnSelectionChanging Allows derived classes to modify the default behavior of the SelectionChanging event.
OnSelectionMoved Allows derived classes to modify the default behavior of the SelectionMoved event.
OnSelectionMoving Allows derived classes to modify the default behavior of the SelectionMoving event.
OnSelectionResized Allows derived classes to modify the default behavior of the SelectionResized event.
OnSelectionResizing Allows derived classes to modify the default behavior of the SelectionResizing event.
OnSizeChanged Leave Site Raises the SizeChanged Leave Site event. Inherited from Control Leave Site.
OnSizeModeChanged Leave Site Raises the SizeModeChanged Leave Site event. Inherited from PictureBox Leave Site.
OnStroke Allows derived classes to modify the default behavior of the Stroke event.
OnStrokesDeleted Allows derived classes to modify the default behavior of the StrokesDeleted event.
OnStrokesDeleting Allows derived classes to modify the default behavior of the StrokesDeleting event.
OnStyleChanged Leave Site Raises the StyleChanged Leave Site event. Inherited from Control Leave Site.
OnSystemColorsChanged Leave Site Raises the SystemColorsChanged Leave Site event. Inherited from Control Leave Site.
OnSystemGesture Allows derived classes to modify the default behavior of the SystemGesture event.
OnTabIndexChanged Leave Site Raises the TabIndexChanged Leave Site event. Inherited from Control Leave Site.
OnTabletAdded Allows derived classes to modify the default behavior of the TabletAdded event.
OnTabletRemoved Allows derived classes to modify the default behavior of the TabletRemoved event.
OnTabStopChanged Leave Site Raises the TabStopChanged Leave Site event. Inherited from Control Leave Site.
OnTextChanged Leave Site Raises the TextChanged Leave Site event. Inherited from Control Leave Site.
OnValidated Leave Site Raises the Validated Leave Site event. Inherited from Control Leave Site.
OnValidating Leave Site Raises the Validating Leave Site event. Inherited from Control Leave Site.
OnVisibleChanged Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
PerformLayout Leave Site Forces the control to apply layout logic to child controls. Inherited from Control Leave Site.
PointToClient Leave Site Computes the location of the specified screen point into client coordinates. Inherited from Control Leave Site.
PointToScreen Leave Site Computes the location of the specified client point into screen coordinates. Inherited from Control Leave Site.
PreProcessMessage Leave Site Preprocesses keyboard or input messages within the message loop before they are dispatched. Inherited from Control Leave Site.
ProcessCmdKey Leave Site Processes a command key. Inherited from Control Leave Site.
ProcessDialogChar Leave Site Processes a dialog character. Inherited from Control Leave Site.
ProcessDialogKey Leave Site Processes a dialog key. Inherited from Control Leave Site.
ProcessKeyEventArgs Leave Site Processes a key message and generates the appropriate control events. Inherited from Control Leave Site.
ProcessKeyMessage Leave Site Processes a keyboard message. Inherited from Control Leave Site.
ProcessKeyPreview Leave Site Previews a keyboard message. Inherited from Control Leave Site.
ProcessMnemonic Leave Site Processes a mnemonic character. Inherited from Control Leave Site.
RaiseDragEvent Leave Site Raises the appropriate drag event. Inherited from Control Leave Site.
RaiseKeyEvent Leave Site Raises the appropriate key event. Inherited from Control Leave Site.
RaiseMouseEvent Leave Site Raises the appropriate mouse event. Inherited from Control Leave Site.
RaisePaintEvent Leave Site Raises the appropriate paint event. Inherited from Control Leave Site.
RecreateHandle Leave Site Forces the re-creation of the handle for the control. Inherited from Control Leave Site.
RectangleToClient Leave Site Computes the size and location of the specified screen rectangle in client coordinates. Inherited from Control Leave Site.
RectangleToScreen Leave Site Computes the size and location of the specified client rectangle in screen coordinates. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReflectMessage Leave Site Reflects the specified message to the control that is bound to the specified handle. Inherited from Control Leave Site.
Refresh Leave Site Forces the control to invalidate its client area and immediately redraw itself and any child controls. Inherited from Control Leave Site.
ResetBackColor Leave Site Resets the BackColor Leave Site property to its default value. Inherited from Control Leave Site.
ResetBindings Leave Site Resets the DataBindings Leave Site property to its default value. Inherited from Control Leave Site.
ResetCursor Leave Site Resets the Cursor Leave Site property to its default value. Inherited from Control Leave Site.
ResetFont Leave Site Resets the Font Leave Siteproperty to its default value. Inherited from Control Leave Site.
ResetForeColor Leave Site Resets the ForeColor Leave Site property to its default value. Inherited from Control Leave Site.
ResetImeMode Leave Site Resets the ImeMode Leave Site property to its default value. Inherited from Control Leave Site.
ResetMouseEventArgs Leave Site Resets the mouse leave listeners. Inherited from Control Leave Site.
ResetRightToLeft Leave Site Resets the RightToLeft Leave Site property to its default value. Inherited from Control Leave Site.
ResetText Leave Site Resets the Text Leave Site property to its default value. Inherited from Control Leave Site.
ResumeLayout Leave Site Resumes normal layout logic. Inherited from Control Leave Site.
RtlTranslateAlignment Leave Site Converts the current alignment to the appropriate alignment to support right-to-left text. Inherited from Control Leave Site.
RtlTranslateContent Leave Site Converts the specified ContentAlignment Leave Site to the appropriate ContentAlignment Leave Site to support right-to-left text. Inherited from Control Leave Site.
RtlTranslateHorizontal Leave Site Converts the specified HorizontalAlignment Leave Site to the appropriate HorizontalAlignment Leave Site to support right-to-left text. Inherited from Control Leave Site.
RtlTranslateLeftRight Leave Site Converts the specified LeftRightAlignment Leave Site to the appropriate LeftRightAlignment Leave Site to support right-to-left text. Inherited from Control Leave Site.
Scale Leave Site Scales the control and any child controls. Inherited from Control Leave Site.
ScaleCore Leave Site Performs the work of scaling the entire control and any child controls. Inherited from Control Leave Site.
ScrollWindow Leave Site Scrolls the contents of the specified window's client area. Inherited from Control Leave Site.
Select Leave Site Activates a control. Inherited from Control Leave Site.
SelectNextControl Leave Site Activates the next control. Inherited from Control Leave Site.
SendToBack Leave Site Sends the control to the back of the z-order. Inherited from Control Leave Site.
SetAllTabletsMode Sets the InkPicture control to collect ink from any tablet attached to the Tablet PC.
SetBounds Leave Site Sets the bounds of the control. Inherited from Control Leave Site.
SetBoundsCore Leave Site Overrides Control.setBoundsCore to enforce autoSize. Inherited from PictureBox Leave Site.
SetClientSizeCore Leave Site Sets the size of the client area of the control. Inherited from Control Leave Site.
SetGestureStatus Sets whether or not the InkPicture object has interest in a known application gesture.
SetSingleTabletIntegratedMode Sets the InkPicture control to collect ink from only one tablet attached to the Tablet PC. Ink from other tablets is ignored by the InkPicture control.
SetStyle Leave Site Sets the specified style bit to the specified value. Inherited from Control Leave Site.
SetTopLevel Leave Site Sets the control as the top-level control. Inherited from Control Leave Site.
SetVisibleCore Leave Site Sets the control to the specified visible state. Inherited from Control Leave Site.
SetWindowInputRectangle Sets the window rectangle, in pixels, within which ink is drawn.
Show Leave Site Displays the control to the user. Inherited from Control Leave Site.
SuspendLayout Leave Site Temporarily suspends the layout logic for the control. Inherited from Control Leave Site.
ToString Leave Site Returns a string representation for this control. Inherited from PictureBox Leave Site.
Update Leave Site Causes the control to redraw the invalidated regions within its client area. Inherited from Control Leave Site.
UpdateBounds Leave Site Updates the bounds of the control. Inherited from Control Leave Site.
UpdateStyles Leave Site Forces the assigned styles to be reapplied to the control. Inherited from Control Leave Site.
UpdateZOrder Leave Site Updates the control in its parent's z-order. Inherited from Control Leave Site.
WndProc Leave Site Processes Windows messages. Inherited from Control Leave Site.

Properties

Property Description
AccessibilityObject Leave Site Gets the AccessibleObject Leave Site assigned to the control. Inherited from Control Leave Site.
AccessibleDefaultActionDescription Leave Site Gets or sets the default action description of the control for use by accessibility client applications. Inherited from Control Leave Site.
AccessibleDescription Leave Site Gets or sets the description of the control used by accessibility client applications. Inherited from Control Leave Site.
AccessibleName Leave Site Gets or sets the name of the control used by accessibility client applications. Inherited from Control Leave Site.
AccessibleRole Leave Site Gets or sets the accessible role of the control Inherited from Control Leave Site.
AllowDrop Leave Site Inherited from PictureBox Leave Site.
Anchor Leave Site Gets or sets which edges of the control are anchored to the edges of its container. Inherited from Control Leave Site.
AutoRedraw Gets or sets a value that specifies whether the InkPicture control repaints the ink when the window is invalidated.
AutoSize Leave Site [To be supplied.] Inherited from Control Leave Site.
BackColor Leave Site Gets or sets the background color for the control. Inherited from Control Leave Site.
BackgroundImage Leave Site Gets or sets the background image displayed in the control. Inherited from Control Leave Site.
BackgroundImageLayout Leave Site Gets or sets the background image layout as defined in the ImageLayout Leave Site enumeration. Inherited from Control Leave Site.
BindingContext Leave Site Gets or sets the BindingContext Leave Site for the control. Inherited from Control Leave Site.
BorderStyle Leave Site Indicates the border style for the control. Inherited from PictureBox Leave Site.
Bottom Leave Site Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. Inherited from Control Leave Site.
Bounds Leave Site Gets or sets the size and location of the control including its nonclient elements. Inherited from Control Leave Site.
CanFocus Leave Site Gets a value indicating whether the control can receive focus. Inherited from Control Leave Site.
CanRaiseEvents Leave Site Determines if events can be fired on the control. Inherited from Control Leave Site.
CanSelect Leave Site Gets a value indicating whether the control can be selected. Inherited from Control Leave Site.
Capture Leave Site Gets or sets a value indicating whether the control has captured the mouse. Inherited from Control Leave Site.
CausesValidation Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
static (Shared in Visual Basic .NET)CheckForIllegalCrossThreadCalls Leave Site Gets or sets a value indicating whether to catch calls on the wrong thread that access a control's Handle Leave Site property. Inherited from Control Leave Site.
ClientRectangle Leave Site Gets the rectangle that represents the client area of the control. Inherited from Control Leave Site.
ClientSize Leave Site Gets or sets the height and width of the client area of the control. Inherited from Control Leave Site.
CollectingInk Gets a value that specifies whether ink is currently being drawn on an InkPicture control.
CollectionMode Gets or sets the collection mode that determines whether ink, gestures, or both are recognized as the user writes.
CompanyName Leave Site Gets the name of the company or creator of the application containing the control. Inherited from Control Leave Site.
Container Leave Site Inherited from Component Leave Site.
ContainsFocus Leave Site Gets a value indicating whether the control, or one of its child controls, currently has the input focus. Inherited from Control Leave Site.
ContextMenu Leave Site Gets or sets the shortcut menu associated with the control. Inherited from Control Leave Site.
Controls Leave Site Gets the collection of controls contained within the control. Inherited from Control Leave Site.
Created Leave Site Gets a value indicating whether the control has been created. Inherited from Control Leave Site.
CreateParams Leave Site Returns the parameters needed to create the handle. Inheriting classes can override this to provide extra functionality. They should not, however, forget to call base.getCreateParams() first to get the struct filled up with the basic info. Inherited from PictureBox Leave Site.
Cursor Gets or sets the cursor that appears when the mouse pointer is over the InkPicture control.
Cursors Gets the Cursors collection that is available for use in the inking region.
DataBindings Leave Site Gets the data bindings for the control. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)DefaultBackColor Leave Site Gets the default background color of the control. Inherited from Control Leave Site.
DefaultCursor Leave Site Gets or sets the default cursor for the control. Inherited from Control Leave Site.
DefaultDrawingAttributes Gets or sets the default DrawingAttributes object, which specifies the drawing attributes that are used when drawing and displaying ink.
static (Shared in Visual Basic .NET)DefaultFont Leave Site Gets the default font of the control. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)DefaultForeColor Leave Site Gets the default foreground color of the control. Inherited from Control Leave Site.
DefaultImeMode Leave Site Gets a value indicating the mode for Input Method Editor (IME) for the PictureBox Leave Site . Inherited from PictureBox Leave Site.
DefaultSize Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
DesignMode Leave Site Inherited from Component Leave Site.
DesiredPacketDescription Gets or sets interest in aspects of the packets associated with ink drawn on the InkPicture object.
DisplayRectangle Leave Site Gets the rectangle that represents the display area of the control. Inherited from Control Leave Site.
Disposing Gets a value that indicates whether the InkPicture control is being disposed of.
Dock Leave Site Gets or sets which edge of the parent container a control is docked to. Inherited from Control Leave Site.
DoubleBuffered Leave Site Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker. Inherited from Control Leave Site.
DynamicRendering Gets or sets a value that indicates whether ink is rendered as it is drawn.
EditingMode Gets or sets a value that indicates whether the InkPicture is in ink mode, delete mode, or select/edit mode.
Enabled Leave Site Gets or sets a value indicating whether the control can respond to user interaction. Inherited from Control Leave Site.
EraserMode Gets or sets a value that indicates whether ink is erased by stroke or by point.
EraserWidth Gets or sets a value that specifies the width of the eraser pen tip.
ErrorImage Leave Site Inherited from PictureBox Leave Site.
Events Leave Site Inherited from Component Leave Site.
Focused Leave Site Gets a value indicating whether the control has input focus. Inherited from Control Leave Site.
Font Leave Site Inherited from PictureBox Leave Site.
FontHeight Leave Site Gets or sets the height of the font of the control. Inherited from Control Leave Site.
ForeColor Leave Site Inherited from PictureBox Leave Site.
Handle Leave Site Gets the window handle that the control is bound to. Inherited from Control Leave Site.
HasChildren Leave Site Gets a value indicating whether the control contains one or more child controls. Inherited from Control Leave Site.
Height Leave Site Gets or sets the height of the control. Inherited from Control Leave Site.
Image Leave Site Gets or sets the image that the PictureBox Leave Site displays. Inherited from PictureBox Leave Site.
ImageLocation Leave Site Inherited from PictureBox Leave Site.
ImeMode Leave Site Gets or sets the Input Method Editor(IME) mode supported by this control. Inherited from PictureBox Leave Site.
InitialImage Leave Site Inherited from PictureBox Leave Site.
Ink Gets or sets the Ink object that is associated with the InkPicture object.
InkEnabled Gets or sets a value that specifies whether the InkPicture control collects pen input.
InvokeRequired Leave Site Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on. Inherited from Control Leave Site.
IsAccessible Leave Site Gets or sets a value indicating whether the control is visible to accessibility applications. Inherited from Control Leave Site.
IsDisposed Leave Site Gets a value indicating whether the control has been disposed of. Inherited from Control Leave Site.
IsHandleCreated Leave Site Gets a value indicating whether the control has a handle associated with it. Inherited from Control Leave Site.
LayoutEngine Leave Site Gets a cached instance of the control's layout engine. Inherited from Control Leave Site.
Left Leave Site Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. Inherited from Control Leave Site.
LoadProgress Leave Site Inherited from PictureBox Leave Site.
Location Leave Site Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. Inherited from Control Leave Site.
Margin Leave Site Gets or sets the space between controls. Inherited from Control Leave Site.
MarginX Gets or sets the margins along the x-axis, in pixels.
MarginY Gets or sets the margins along the y-axis, in pixels.
MaximumSize Leave Site [To be supplied.] Inherited from Control Leave Site.
MinimumSize Leave Site Gets the size that is the lower limit that GetPreferredSize Leave Site can specify. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)ModifierKeys Leave Site Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)MouseButtons Leave Site Gets a value indicating which of the mouse buttons is in a pressed state. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)MousePosition Leave Site Gets the position of the mouse cursor in screen coordinates. Inherited from Control Leave Site.
Name Leave Site Gets or sets the name of the control. Inherited from Control Leave Site.
Padding Leave Site Gets or sets padding within the control. Inherited from Control Leave Site.
Parent Leave Site Gets or sets the parent container of the control. Inherited from Control Leave Site.
Pinned Leave Site Gets or sets a value indicating whether the control can be automatically resized and will move other controls during layout. Inherited from Control Leave Site.
PreferredSize Leave Site [To be supplied.] Inherited from Control Leave Site.
ProductName Leave Site Gets the product name of the assembly containing the control. Inherited from Control Leave Site.
ProductVersion Leave Site Gets the version of the assembly containing the control. Inherited from Control Leave Site.
RecreatingHandle Leave Site Gets a value indicating whether the control is currently re-creating its handle. Inherited from Control Leave Site.
Region Leave Site Gets or sets the window region associated with the control. Inherited from Control Leave Site.
Renderer Gets or sets the Renderer object that is used to draw ink.
RenderRightToLeft Leave Site Inherited from Control Leave Site.
ResizeRedraw Leave Site Gets or sets a value indicating whether the control redraws itself when resized. Inherited from Control Leave Site.
Right Leave Site Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. Inherited from Control Leave Site.
RightToLeft Leave Site Inherited from PictureBox Leave Site.
Selection Gets or sets the Strokes collection that is currently selected inside the InkPicture control.
ShowFocusCues Leave Site Gets a value indicating whether the control should display focus rectangles. Inherited from Control Leave Site.
ShowKeyboardCues Leave Site Gets a value indicating whether the control should display keyboard shortcuts. Inherited from Control Leave Site.
Site Leave Site Gets or sets the site of the control. Inherited from Control Leave Site.
Size Leave Site Gets or sets the height and width of the control. Inherited from Control Leave Site.
SizeMode Leave Site Indicates how the image is displayed. Inherited from PictureBox Leave Site.
SupportHighContrastInk Gets or sets a value that specifies whether ink is rendered as just one color when the system is in High Contrast mode.
SupportHighContrastSelectionUI Gets or sets a value that specifies whether all selection user interface (UI) are drawn in high contrast when the system is in High Contrast mode.
TabIndex Leave Site [To be supplied.] Inherited from PictureBox Leave Site.
Tablet Gets the tablet device that the InkPicture control is currently using to collect input.
TabStop Gets or sets a value indicating whether the user can give the focus to this control by pressing the TAB key.
Tag Leave Site Gets or sets the object that contains data about the control. Inherited from Control Leave Site.
Text Leave Site Inherited from PictureBox Leave Site.
Top Leave Site Gets or sets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. Inherited from Control Leave Site.
TopLevelControl Leave Site Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form Leave Site that the control is contained in. Inherited from Control Leave Site.
UseWaitCursor Leave Site Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. Inherited from Control Leave Site.
Visible Leave Site Gets or sets a value indicating whether the control is displayed. Inherited from Control Leave Site.
WaitOnLoad Leave Site Inherited from PictureBox Leave Site.
Width Leave Site Gets or sets the width of the control. Inherited from Control Leave Site.
WindowTarget Leave Site The target of Win32 window messages. Inherited from Control Leave Site.

Inheritance Hierarchy

Object Leave Site

MarshalByRefObject Leave Site

Component Leave Site

Control Leave Site

PictureBox Leave Site

InkPicture

Remarks

Caution: You must call the Dispose method on this object before it goes out of scope. This object maintains non-managed resources. Relying on finalization for this object can cause memory leaks and exceptions within your application.

For an example of disposing managed objects, see Using the Managed Library.

Note: The InkPicture control is not marked safe for scripting. The InkPicture control should not be used in HTML or ASP.NET pages.

The run time user interface for this control is a window with an opaque background (single color, picture background, or both) that contains opaque ink.

You can use the InkPicture control to render ink in Microsoft® Windows® 2000, Windows Server 2003, and any edition of Windows XP other than Tablet PC Edition. However, you can input ink, accept gestures, or recognize handwriting only under the following conditions:

  • Ink can be input and recognized only if Windows XP Tablet PC Edition is installed.
  • Gestures can be recognized only if Windows XP Tablet PC Edition is installed.
  • Handwriting can be recognized as text if the handwriting originated elsewhere and if recognizers are present.

If you use Windows 2000, Windows Server 2003, or any edition of Windows XP other than Tablet PC Edition, you can assign values to the ambient properties of the InkPicture control and copy and paste ink to other applications, but the value of its InkEnabled property is always false.

Persisted Ink objects can be loaded and displayed on all editions of Windows XP (including the Tablet PC Edition). However, the Ink objects can be converted to text (recognized) only if Windows XP Tablet PC Edition is installed.

For more information about ink controls, see Ink Controls.

For information about which threads raise particular events, see Threads on Which an Event Can Fire.

To improve your application's performance, manually dispose of an InkPicture control when it is no longer needed.

Important Security InformationSecurity Alert: If using under partial trust, this class and all its methods require UIPermissionWindow.SafeTopLevelWindows Leave Site permission. See Security And Trust for more information.

Class Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also