ImageViewer Methods |
The ImageViewer type exposes the following members.
Name | Description | |
---|---|---|
AccessibilityNotifyClients(AccessibleEvents, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control. (Inherited from Control.) | |
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control . (Inherited from Control.) | |
BeginInvoke(Delegate) | Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from Control.) | |
BeginInvoke(Delegate, Object) | Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Inherited from Control.) | |
BringToFront | Brings the control to the front of the z-order. (Inherited from Control.) | |
Contains | Retrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.) | |
CreateAccessibilityInstance | Creates a new accessibility object for the control. (Inherited from Control.) | |
CreateControl | Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from Control.) | |
CreateControlsInstance | Creates a new instance of the control collection for the control. (Inherited from Control.) | |
CreateGraphics | Creates the Graphics for the control. (Inherited from Control.) | |
CreateHandle | Creates a handle for the control. (Inherited from Control.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
DefWndProc | Sends the specified message to the default window procedure. (Inherited from Control.) | |
DestroyHandle | Destroys the handle associated with the control. (Inherited from Control.) | |
Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
Dispose(Boolean) | Disposes the object and releases any resources back to the system. (Overrides ViewportDispose(Boolean).) | |
DoDragDrop | Begins a drag-and-drop operation. (Inherited from Control.) | |
DrawToBitmap | Supports rendering to the specified bitmap. (Inherited from Control.) | |
EndInvoke | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ViewportFinalize.) | |
FindForm | Retrieves the form that the control is on. (Inherited from Control.) | |
Focus | Sets input focus to the control. (Inherited from Control.) | |
GetAccessibilityObjectById | Retrieves the specified AccessibleObject. (Inherited from Control.) | |
GetAutoSizeMode | Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.) | |
GetChildAtPoint(Point) | Retrieves the child control that is located at the specified coordinates. (Inherited from Control.) | |
GetChildAtPoint(Point, GetChildAtPointSkip) | Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from Control.) | |
GetContainerControl | Returns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.) | |
GetCurrentImage | Returns the current image and indicates whether or not this image is a Bitmap. (Overrides ViewportGetCurrentImage(Boolean).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetNextControl | Retrieves the next control forward or back in the tab order of child controls. (Inherited from Control.) | |
GetPreferredSize | Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.) | |
GetScaledBounds | Retrieves the bounds within which the control is scaled. (Inherited from Control.) | |
GetScaledResolutionHeight | checks the image resolution and if the Dpi.X != Dpi.Y returns the value to scaled the height
appropriately in the control. (Overrides ViewportGetScaledResolutionHeight.) | |
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) | |
GetStyle | Retrieves the value of the specified control style bit for the control. (Inherited from Control.) | |
GetTopLevel | Determines if the control is a top-level control. (Inherited from Control.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Hide | Conceals the control from the user. (Inherited from Control.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
InitLayout | Called after the control has been added to another container. (Inherited from Control.) | |
Invalidate | Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from Control.) | |
Invalidate(Region) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | |
Invalidate(Boolean) | Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
Invalidate(Rectangle) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | |
Invalidate(Region, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
Invalidate(Rectangle, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | |
Invoke(Delegate) | Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from Control.) | |
Invoke(Delegate, Object) | Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Inherited from Control.) | |
InvokeGotFocus | Raises the GotFocus event for the specified control. (Inherited from Control.) | |
InvokeLostFocus | Raises the LostFocus event for the specified control. (Inherited from Control.) | |
InvokeOnClick | Raises the Click event for the specified control. (Inherited from Control.) | |
InvokePaint | Raises the Paint event for the specified control. (Inherited from Control.) | |
InvokePaintBackground | Raises the PaintBackground event for the specified control. (Inherited from Control.) | |
IsInputChar | Determines if a character is an input character that the control recognizes. (Inherited from Control.) | |
IsInputKey | Determines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from Control.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
NotifyInvalidate | Raises the Invalidated event with a specified region of the control to invalidate. (Inherited from Control.) | |
OnAntialiasDisplayChanged | Called when the AntialiasDisplay property has changed and raises the AntialiasDisplayChanged event. | |
OnAutoSizeChanged | Raises the AutoSizeChanged event. (Inherited from Control.) | |
OnAutoZoomChanged | Called when the AutoZoom property has been changed and raises the AutoZoomChanged event. (Inherited from Viewport.) | |
OnBackColorChanged | Raises the BackColorChanged event. (Inherited from Control.) | |
OnBackgroundImageChanged | Raises the BackgroundImageChanged event. (Inherited from Control.) | |
OnBackgroundImageLayoutChanged | Raises the BackgroundImageLayoutChanged event. (Inherited from Control.) | |
OnBindingContextChanged | Raises the BindingContextChanged event. (Inherited from Control.) | |
OnCausesValidationChanged | Raises the CausesValidationChanged event. (Inherited from Control.) | |
OnCenteredChanged | Called when the Centered property has changed and raises the CenteredChanged
event. (Inherited from Scrollport.) | |
OnChangeUICues | Raises the ChangeUICues event. (Inherited from Control.) | |
OnClick | Called when a mouse button is clicked on the control. (Inherited from Scrollport.) | |
OnClientSizeChanged | Raises the ClientSizeChanged event. (Inherited from Control.) | |
OnContextMenuChanged | Raises the ContextMenuChanged event. (Inherited from Control.) | |
OnContextMenuStripChanged | Raises the ContextMenuStripChanged event. (Inherited from Control.) | |
OnControlAdded | Raises the ControlAdded event. (Inherited from Control.) | |
OnControlRemoved | Raises the ControlRemoved event. (Inherited from Control.) | |
OnCreateControl | Raises the CreateControl method. (Inherited from Control.) | |
OnCursorChanged | Raises the CursorChanged event. (Inherited from Control.) | |
OnDockChanged | Raises the DockChanged event. (Inherited from Control.) | |
OnDoubleClick | Raises the DoubleClick event. (Inherited from Control.) | |
OnDragDrop | Raises the DragDrop event. (Inherited from Control.) | |
OnDragEnter | Raises the DragEnter event. (Inherited from Control.) | |
OnDragLeave | Raises the DragLeave event. (Inherited from Control.) | |
OnDragOver | Raises the DragOver event. (Inherited from Control.) | |
OnEnabledChanged | Raises the EnabledChanged event. (Inherited from Control.) | |
OnEnter | Raises the Enter event. (Inherited from Control.) | |
OnFontChanged | Raises the FontChanged event. (Inherited from Control.) | |
OnForeColorChanged | Raises the ForeColorChanged event. (Inherited from Control.) | |
OnGiveFeedback | Raises the GiveFeedback event. (Inherited from Control.) | |
OnGotFocus | Raises the GotFocus event. (Inherited from Control.) | |
OnHandleCreated | Raises the HandleCreated event. (Inherited from Control.) | |
OnHandleDestroyed | Raises the HandleDestroyed event. (Inherited from Control.) | |
OnHelpRequested | Raises the HelpRequested event. (Inherited from Control.) | |
OnImageChanged | Called when the Image property has changed and raises the ImageChanged event. | |
OnImageDraw |
This method is used to draw the image onto the Viewport graphics.
(Overrides ViewportOnImageDraw(Rectangle, Rectangle, Graphics).) | |
OnImeModeChanged | Raises the ImeModeChanged event. (Inherited from Control.) | |
OnInvalidated | Raises the Invalidated event. (Inherited from Control.) | |
OnKeyDown | Raises the KeyDown event. (Inherited from Control.) | |
OnKeyPress | Raises the KeyPress event. (Inherited from Control.) | |
OnKeyUp | Raises the KeyUp event. (Inherited from Control.) | |
OnLayout | Called when the layout of the control needs to be updated. (Inherited from Viewport.) | |
OnLeave | Raises the Leave event. (Inherited from Control.) | |
OnLocationChanged | Called when the Location property has changed. (Inherited from Viewport.) | |
OnLostFocus | Raises the LostFocus event. (Inherited from Control.) | |
OnMagnifierChanged | Called when the Magnifier property has been changed and raises the MagnifierChanged event. (Inherited from Viewport.) | |
OnMarginChanged | Raises the MarginChanged event. (Inherited from Control.) | |
OnMouseCaptureChanged | Raises the MouseCaptureChanged event. (Inherited from Control.) | |
OnMouseClick | Raises the MouseClick event. (Inherited from Control.) | |
OnMouseDoubleClick | Raises the MouseDoubleClick event. (Inherited from Control.) | |
OnMouseDown | Called when a mouse button has been pressed on top of the control. (Inherited from Viewport.) | |
OnMouseEnter | Raises the MouseEnter event. (Inherited from Control.) | |
OnMouseHover | Raises the MouseHover event. (Inherited from Control.) | |
OnMouseLeave | Raises the MouseLeave event. (Inherited from Control.) | |
OnMouseMove | Called when the mouse is moved over the control. (Inherited from Viewport.) | |
OnMouseMovePixel | Called when the mouse has moved over an image pixel and raises the MouseMovePixel event.
(Inherited from Viewport.) | |
OnMouseToolChanged | Called when the MouseTool property has changed and raises the MouseToolChanged
event. (Inherited from Viewport.) | |
OnMouseUp | Called when a mouse button has been released over the control. (Inherited from Viewport.) | |
OnMouseWheel | Called when a MouseWheel event is being raised. (Inherited from Scrollport.) | |
OnMove | Raises the Move event. (Inherited from Control.) | |
OnNotifyMessage | Notifies the control of Windows messages. (Inherited from Control.) | |
OnPaddingChanged | Raises the PaddingChanged event. (Inherited from Control.) | |
OnPaint | Called when the control needs to redraw itself. (Overrides ViewportOnPaint(PaintEventArgs).) | |
OnPaintBackground | Paints the background of the control. (Inherited from Control.) | |
OnPanCursorChanged | Called when the PanCursor property has changed and raises the PanCursorChanged
event. (Inherited from Viewport.) | |
OnParentBackColorChanged | Raises the BackColorChanged event when the BackColor property value of the control's container changes. (Inherited from Control.) | |
OnParentBackgroundImageChanged | Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (Inherited from Control.) | |
OnParentBindingContextChanged | Raises the BindingContextChanged event when the BindingContext property value of the control's container changes. (Inherited from Control.) | |
OnParentChanged | Raises the ParentChanged event. (Inherited from Control.) | |
OnParentCursorChanged | Raises the CursorChanged event. (Inherited from Control.) | |
OnParentEnabledChanged | Raises the EnabledChanged event when the Enabled property value of the control's container changes. (Inherited from Control.) | |
OnParentFontChanged | Raises the FontChanged event when the Font property value of the control's container changes. (Inherited from Control.) | |
OnParentForeColorChanged | Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. (Inherited from Control.) | |
OnParentRightToLeftChanged | Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (Inherited from Control.) | |
OnParentVisibleChanged | Raises the VisibleChanged event when the Visible property value of the control's container changes. (Inherited from Control.) | |
OnPreviewKeyDown | Raises the PreviewKeyDown event. (Inherited from Control.) | |
OnPrint | Raises the Paint event. (Inherited from Control.) | |
OnQueryContinueDrag | Raises the QueryContinueDrag event. (Inherited from Control.) | |
OnRegionChanged | Raises the RegionChanged event. (Inherited from Control.) | |
OnResize | Raises the Resize event. (Inherited from Control.) | |
OnRightToLeftChanged | Raises the RightToLeftChanged event. (Inherited from Control.) | |
OnScrollBarStyleChanged | Called when the ScrollBarStyle property has changed and raises the ScrollBarStyleChanged event. (Inherited from Scrollport.) | |
OnScrollChanged | Raises the ScrollChanged event. (Inherited from Scrollport.) | |
OnScrolling | Raises the Scrolling event. (Inherited from Scrollport.) | |
OnSelectionChanged | Called when the Selection has changed and raises the SelectionChanged event.
(Inherited from Viewport.) | |
OnSizeChanged | Raises the SizeChanged event. (Inherited from Control.) | |
OnSmoothScrollChanged | Called when the SmoothScroll property has changed and raises the SmoothScrollChanged event. (Inherited from Scrollport.) | |
OnStyleChanged | Raises the StyleChanged event. (Inherited from Control.) | |
OnSystemColorsChanged | Raises the SystemColorsChanged event. (Inherited from Control.) | |
OnTabIndexChanged | Raises the TabIndexChanged event. (Inherited from Control.) | |
OnTabStopChanged | Raises the TabStopChanged event. (Inherited from Control.) | |
OnTextChanged | Raises the TextChanged event. (Inherited from Control.) | |
OnValidated | Raises the Validated event. (Inherited from Control.) | |
OnValidating | Raises the Validating event. (Inherited from Control.) | |
OnVisibleChanged | Raises the VisibleChanged event. (Inherited from Control.) | |
OnZoomAreaCursorChanged | Called when the ZoomAreaCursor property has changed and raises the ZoomAreaCursorChanged event. (Inherited from Viewport.) | |
OnZoomChanged | Called when the Zoom property has changed and raises the ZoomChanged event.
(Inherited from Viewport.) | |
OnZoomCursorChanged | Called when the ZoomCursor property has changed and raises the ZoomCursorChanged event. (Inherited from Viewport.) | |
OnZoomInCursorChanged | Called when the ZoomInCursor property has changed and raises the ZoomInCursorChanged event. (Inherited from Viewport.) | |
OnZoomInOutPercentageChanged | Called when the ZoomInOutPercentage property has changed and raises the ZoomInOutPercentageChanged event. (Inherited from Viewport.) | |
OnZoomOutCursorChanged | Called when the ZoomOutCursor property has changed and raises the ZoomOutCursorChanged event. (Inherited from Viewport.) | |
PerformLayout | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | |
PerformLayout(Control, String) | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | |
PointFromImage | Converts a Point from image space into client space. (Inherited from Viewport.) | |
PointToClient | Computes the location of the specified screen point into client coordinates. (Inherited from Control.) | |
PointToImage | Converts a Point in client space to image space. (Inherited from Viewport.) | |
PointToScreen | Computes the location of the specified client point into screen coordinates. (Inherited from Control.) | |
PreProcessControlMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | |
PreProcessMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | |
ProcessCmdKey | Processes a command key. (Inherited from Control.) | |
ProcessDialogChar | Processes a dialog character. (Inherited from Control.) | |
ProcessDialogKey | Processes a dialog key. (Inherited from Control.) | |
ProcessKeyEventArgs | Processes a key message and generates the appropriate control events. (Inherited from Control.) | |
ProcessKeyMessage | Processes a keyboard message. (Inherited from Control.) | |
ProcessKeyPreview | Previews a keyboard message. (Inherited from Control.) | |
ProcessMnemonic | Processes a mnemonic character. (Inherited from Control.) | |
RaiseDragEvent | Raises the appropriate drag event. (Inherited from Control.) | |
RaiseKeyEvent | Raises the appropriate key event. (Inherited from Control.) | |
RaiseMouseEvent | Raises the appropriate mouse event. (Inherited from Control.) | |
RaisePaintEvent | Raises the appropriate paint event. (Inherited from Control.) | |
RecreateHandle | Forces the re-creation of the handle for the control. (Inherited from Control.) | |
RectangleToClient | Computes the size and location of the specified screen rectangle in client coordinates. (Inherited from Control.) | |
RectangleToScreen | Computes the size and location of the specified client rectangle in screen coordinates. (Inherited from Control.) | |
Refresh | Removes any cached images used for fast displays and redraws the image. | |
ResetBackColor | Resets the BackColor property to its default value. (Inherited from Control.) | |
ResetBindings | Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. (Inherited from Control.) | |
ResetCursor | Resets the Cursor property to its default value. (Inherited from Control.) | |
ResetFont | Resets the Font property to its default value. (Inherited from Control.) | |
ResetForeColor | Resets the ForeColor property to its default value. (Inherited from Control.) | |
ResetImeMode | Resets the ImeMode property to its default value. (Inherited from Control.) | |
ResetMouseEventArgs | Resets the control to handle the MouseLeave event. (Inherited from Control.) | |
ResetRightToLeft | Resets the RightToLeft property to its default value. (Inherited from Control.) | |
ResetText | Resets the Text property to its default value. (Inherited from Control.) | |
ResumeLayout | Resumes usual layout logic. (Inherited from Control.) | |
ResumeLayout(Boolean) | Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from Control.) | |
RtlTranslateAlignment(HorizontalAlignment) | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.) | |
RtlTranslateAlignment(LeftRightAlignment) | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.) | |
RtlTranslateAlignment(ContentAlignment) | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.) | |
RtlTranslateContent | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.) | |
RtlTranslateHorizontal | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.) | |
RtlTranslateLeftRight | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.) | |
Scale(Single) | Obsolete. Scales the control and any child controls. (Inherited from Control.) | |
Scale(SizeF) | Scales the control and all child controls by the specified scaling factor. (Inherited from Control.) | |
Scale(Single, Single) | Obsolete. Scales the entire control and any child controls. (Inherited from Control.) | |
ScaleControl | Scales a control's location, size, padding and margin. (Inherited from Control.) | |
ScaleCore | This method is not relevant for this class. (Inherited from Control.) | |
Select | Activates the control. (Inherited from Control.) | |
Select(Boolean, Boolean) | Activates a child control. Optionally specifies the direction in the tab order to select the control from. (Inherited from Control.) | |
SelectNextControl | Activates the next control. (Inherited from Control.) | |
SendToBack | Sends the control to the back of the z-order. (Inherited from Control.) | |
SetAutoSizeMode | Sets a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.) | |
SetBounds(Int32, Int32, Int32, Int32) | Sets the bounds of the control to the specified location and size. (Inherited from Control.) | |
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | Sets the specified bounds of the control to the specified location and size. (Inherited from Control.) | |
SetBoundsCore | Performs the work of setting the specified bounds of this control. (Inherited from Control.) | |
SetClientSizeCore | Sets the size of the client area of the control. (Inherited from Control.) | |
SetNewImage | Called when the Image is being replaced. | |
SetScrollSize | Sets the size of the scrollable area. (Inherited from Scrollport.) | |
SetStyle | Sets a specified ControlStyles flag to either true or false. (Inherited from Control.) | |
SetTopLevel | Sets the control as the top-level control. (Inherited from Control.) | |
SetVisibleCore | Sets the control to the specified visible state. (Inherited from Control.) | |
SetZoomMode | Sets the zoom to the AutoZoomMode. (Inherited from Viewport.) | |
Show | Displays the control to the user. (Inherited from Control.) | |
SizeFromClientSize | Determines the size of the entire control from the height and width of its client area. (Inherited from Control.) | |
SuspendLayout | Temporarily suspends the layout logic for the control. (Inherited from Control.) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) | |
Update | Causes the control to redraw the invalidated regions within its client area. (Inherited from Control.) | |
UpdateBounds | Updates the bounds of the control with the current size and location. (Inherited from Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size and location. (Inherited from Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size, location, and client size. (Inherited from Control.) | |
UpdateStyles | Forces the assigned styles to be reapplied to the control. (Inherited from Control.) | |
UpdateZOrder | Updates the control in its parent's z-order. (Inherited from Control.) | |
WndProc | (Inherited from Scrollport.) |