Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Versions
SDK Documentation
Microsoft Tablet PC
Tablet PC Platform
Microsoft.Ink
Classes
InkPicture
Microsoft Tablet PC - Microsoft.Ink.InkPicture
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 .NETPublic 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

EventDescription
AutoSizeChanged Leave Site[To be supplied.] Inherited from Control Leave Site.
BackColorChanged Leave SiteOccurs when the value of the BackColor Leave Site property changes. Inherited from Control Leave Site.
BackgroundImageChanged Leave SiteOccurs when the value of the BackgroundImage Leave Site property changes. Inherited from Control Leave Site.
BackgroundImageLayoutChanged Leave SiteOccurs when the BackgroundImageLayout Leave Site property changes. Inherited from Control Leave Site.
BindingContextChanged Leave SiteOccurs 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 SiteOccurs when the focus or keyboard user interface (UI) cues change. Inherited from Control Leave Site.
Click Leave SiteOccurs when the control is clicked. Inherited from Control Leave Site.
ContextMenuChanged Leave SiteOccurs when the value of the ContextMenu Leave Site property changes. Inherited from Control Leave Site.
ControlAdded Leave SiteOccurs when a new control is added to the ControlCollection Leave Site. Inherited from Control Leave Site.
ControlRemoved Leave SiteOccurs when a control is removed from the ControlCollection Leave Site. Inherited from Control Leave Site.
CursorButtonDownOccurs when the InkPicture detects a cursor button that is down.
CursorButtonUpOccurs when the InkPicture detects a cursor button that is up.
CursorChanged Leave SiteOccurs when the value of the Cursor Leave Site property changes. Inherited from Control Leave Site.
CursorDownOccurs when the cursor tip contacts the digitizing tablet surface.
CursorInRangeOccurs when a cursor enters the physical detection range (proximity) of the tablet context.
CursorOutOfRangeOccurs when a cursor leaves the physical detection range (proximity) of the tablet context.
Disposed Leave Site Inherited from Component Leave Site.
DockChanged Leave SiteOccurs when the value of the Dock Leave Site property changes. Inherited from Control Leave Site.
DoubleClick Leave SiteOccurs when the control is double-clicked. Inherited from Control Leave Site.
DragDrop Leave SiteOccurs when a drag-and-drop operation is completed. Inherited from Control Leave Site.
DragEnter Leave SiteOccurs when an object is dragged into the control's bounds. Inherited from Control Leave Site.
DragLeave Leave SiteOccurs when an object is dragged out of the control's bounds. Inherited from Control Leave Site.
DragOver Leave SiteOccurs when an object is dragged over the control's bounds. Inherited from Control Leave Site.
EnabledChanged Leave SiteOccurs 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.
GestureOccurs when an application-specific gesture is recognized.
GiveFeedback Leave SiteOccurs during a drag operation. Inherited from Control Leave Site.
GotFocus Leave SiteOccurs when the control receives focus. Inherited from Control Leave Site.
HandleCreated Leave SiteOccurs when a handle is created for the control. Inherited from Control Leave Site.
HandleDestroyed Leave SiteOccurs when the control's handle is in the process of being destroyed. Inherited from Control Leave Site.
HelpRequested Leave SiteOccurs 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 SiteOccurs 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 SiteOccurs 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 SiteOccurs when the Location Leave Site property value has changed. Inherited from Control Leave Site.
LostFocus Leave SiteOccurs when the control loses focus. Inherited from Control Leave Site.
MouseCaptureChanged Leave SiteOccurs when the control loses mouse capture. Inherited from Control Leave Site.
MouseClick Leave SiteOccurs when the control is clicked by the mouse. Inherited from Control Leave Site.
MouseDoubleClick Leave SiteOccurs when the control is double clicked by the mouse. Inherited from Control Leave Site.
MouseDown Leave SiteOccurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control Leave Site.
MouseEnter Leave SiteOccurs when the mouse pointer enters the control. Inherited from Control Leave Site.
MouseHover Leave SiteOccurs when the mouse pointer hovers over the control. Inherited from Control Leave Site.
MouseLeave Leave SiteOccurs when the mouse pointer leaves the control. Inherited from Control Leave Site.
MouseMove Leave SiteOccurs when the mouse pointer is moved over the control. Inherited from Control Leave Site.
MouseUp Leave SiteOccurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control Leave Site.
MouseWheel Leave SiteOccurs when the mouse wheel moves while the control has focus. Inherited from Control Leave Site.
Move Leave SiteOccurs when the control is moved. Inherited from Control Leave Site.
NewInAirPacketsOccurs 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.
NewPacketsOccurs when the InkPicture receives packets.
Paint Leave SiteOccurs when the control is redrawn. Inherited from Control Leave Site.
PaintedOccurs when the InkPicture object has completed redrawing itself.
PaintingOccurs before the InkPicture object redraws itself.
ParentChanged Leave SiteOccurs when the Parent Leave Site property value changes. Inherited from Control Leave Site.
QueryAccessibilityHelp Leave SiteOccurs when AccessibleObject Leave Site is providing help to accessibility applications. Inherited from Control Leave Site.
QueryContinueDrag Leave SiteOccurs 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 SiteOccurs when the control is resized. Inherited from Control Leave Site.
ResizeBegin Leave SiteOccurs when the user begins to resize a control. Inherited from Control Leave Site.
ResizeEnd Leave SiteOccurs when the user stops resizing a control. Inherited from Control Leave Site.
RightToLeftChanged Leave Site[To be supplied.] Inherited from PictureBox Leave Site.
SelectionChangedOccurs 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.
SelectionChangingOccurs 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.
SelectionMovedOccurs 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.
SelectionMovingOccurs 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.
SelectionResizedOccurs 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.
SelectionResizingOccurs 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 SiteOccurs when the Size Leave Site property value changes. Inherited from Control Leave Site.
SizeModeChanged Leave SiteOccurs when SizeMode Leave Site changes. Inherited from PictureBox Leave Site.
StrokeOccurs when the user finishes drawing a new stroke on any tablet.
StrokesDeletedOccurs after strokes have been deleted from the Ink property.
StrokesDeletingOccurs before strokes are deleted from the Ink property.
StyleChanged Leave SiteOccurs when the control style changes. Inherited from Control Leave Site.
SystemColorsChanged Leave SiteOccurs when the system colors change. Inherited from Control Leave Site.
SystemGestureOccurs when a system gesture is recognized.
TabIndexChanged Leave Site[To be supplied.] Inherited from PictureBox Leave Site.
TabletAddedOccurs when a Tablet is added to the system.
TabletRemovedOccurs 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 SiteOccurs when the control is finished validating. Inherited from Control Leave Site.
Validating Leave SiteOccurs when the control is validating. Inherited from Control Leave Site.
VisibleChanged Leave SiteOccurs when the Visible Leave Site property value changes. Inherited from Control Leave Site.

Fields

FieldDescription
ClipInkToMarginNot implemented.
DefaultMarginReturns the default margin used by the MarginX and MarginY properties.

Methods

MethodDescription
AccessibilityNotifyClients Leave SiteNotifies the accessibility client applications of the specified AccessibleEvents Leave Site for the specified child control. Inherited from Control Leave Site.
BeginInvoke Leave SiteExecutes a delegate asynchronously on the thread that the control's underlying handle was created on. Inherited from Control Leave Site.
BringToFront Leave SiteBrings the control to the front of the z-order. Inherited from Control Leave Site.
CancelAsync Leave Site Inherited from PictureBox Leave Site.
Contains Leave SiteRetrieves a value indicating whether the specified control is a child of the control. Inherited from Control Leave Site.
CreateAccessibilityInstance Leave SiteCreates a new accessibility object for the control. Inherited from Control Leave Site.
CreateControl Leave SiteForces the creation of the control, including the creation of the handle and any child controls. Inherited from Control Leave Site.
CreateControlsInstance Leave SiteCreates a new instance of the control collection for the control. Inherited from Control Leave Site.
CreateGraphics Leave SiteCreates the Graphics Leave Site object for the control. Inherited from Control Leave Site.
CreateHandle Leave SiteCreates a handle for the control. Inherited from Control Leave Site.
DefWndProc Leave SiteSends the specified message to the default window procedure. Inherited from Control Leave Site.
DestroyHandle Leave SiteDestroys the handle associated with the control. Inherited from Control Leave Site.
Dispose Leave Site Inherited from Component Leave Site.
DisposeReleases resources used by the InkPicture object.
DoDragDrop Leave SiteBegins a drag-and-drop operation. Inherited from Control Leave Site.
EndInvoke Leave SiteRetrieves the return value of the asynchronous operation represented by the IAsyncResult Leave Site object passed. Inherited from Control Leave Site.
Equals Leave SiteDetermines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Inherited from Component Leave Site.
FindForm Leave SiteRetrieves the form that the control is on. Inherited from Control Leave Site.
Focus Leave SiteSets input focus to the control. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)FromChildHandle Leave SiteRetrieves the control that contains the specified handle. Inherited from Control Leave Site.
static (Shared in Visual Basic .NET)FromHandle Leave SiteReturns the control that is currently associated with the specified handle. Inherited from Control Leave Site.