←Select platform

ImageViewer Class Methods

Summary

For a list of all members of this type, see ImageViewer members

Public Methods

Name Description
BeginRender Stops the viewer from rendering the content if any change is applied. This is useful to increase the control's speed efficiency.
BeginTransform Stops the viewer from updating the transformations matrices and updating the view layout. This is useful to increase the control's speed efficiency.
BeginUpdate Stops the viewer from updating the transformations matrices, view layout and rendering the content if any change is applied. This is useful to increase the control's speed efficiency.
CenterAtPoint Centers the view display at the specified point.
CombineFloater Combines the floaters with the images for all items inside this ImageViewer
ConvertBoundsToView Converts a rectangle value from logical (excluding the current transformation) to physical (in control pixel coordinates).
ConvertPoint Converts a LeadPointD from one coordinates to the other.
ConvertPoints Converts an array of LeadPoint from one coordinates to the other.
ConvertRect Converts a LeadRectD from one coordinates to the other.
ConvertTransform Converts a transformation matrix relative to one item to another.
DisableSync Temporarily disable syncing for a group while keeping the group itself intact.
EnableSync Re-enable syncing for a group.
EndRender Instruct the viewer that updates are completed and rendering of content can be resumed.
EndTransform Instruct the viewer that updates are completed and updating transformations and view layout can be resumed.
EndUpdate Instruct the viewer that updates are completed and updating the transformations matrices, view layout and rendering of content can be resumed.
EnsureBoundsVisible Ensures that the specified rectangle area is visible in the viewer.
EnsureItemVisible Ensures that an item is visible in the viewer.
EnsureItemVisibleByIndex Ensures that the item at the specified index is visible in the viewer.
FindNearestItem Gets the item nearest to the specified physical (in viewer pixel) coordinates.
GetAllVisibleItems Gets an array of all the visible ImageViewerItems for the specified ImageViewerItemPart.
GetDestinationRectangle Utility method to adjust the given LeadRectD based on source size, size mode and alignment
GetFirstVisibleItem First visible item or part of it in the viewer.
GetFirstVisibleItemIndex Index for the first visible item or part of it in the viewer.
GetImageTransformWithDpi Transformation matrix of the image with or without DPI scaling (single item mode).
GetItemBounds Current logical (excluding the current transformation) bounds of any part of an item.
GetItemContentTransform Transformation matrix of the content of an item.
GetItemFloaterSize Floater image size of an item.
GetItemFloaterTransform Transformation matrix of the floater of an item.
GetItemImageFloatingPointTransform Transformation matrix of the image of an item without rounded values.
GetItemImageSize Image size of an item.
GetItemImageTransform Transformation matrix of the image of an item.
GetItemImageTransformWithDpi Transformation matrix of the image of an item with or without DPI scaling.
GetItemTransform Transformation matrix of the whole item.
GetItemViewBounds Current physical (in control pixel coordinates) bounds of any part of an item.
GetLargestVisibleItem Largest visible item or part of it in the viewer.
GetLargestVisibleItemIndex Index for the largest visible item or part of it in the viewer.
GetLastVisibleItem Last visible item or part of it in the viewer.
GetLastVisibleItemIndex Index for the last visible item or part of it in the viewer.
GetScaleFactors Utility method to calculate the scale factor needed to perform the specified size mode using a source and destination size.
GetSynced Returns a list of all ImageViewer instances that match the given sync.
GetViewBounds Current bounds of the view in physical (in control pixel) coordinates
GotoItem Scroll to the top-left of an item.
GotoItemByIndex Scroll to the top-left of an item giving its index.
HitTestFloater First item that has its floater under a physical (in viewer pixel) coordinates.
HitTestItem First item that is under a physical (in viewer pixel) coordinates.
HitTestItemPart Specific part of the item under a physical (in viewer pixel) coordinates.
HitTestItems Items that intersect with a rectangle in physical (in viewer pixel) coordinates.
Invalidate Invalidates a portion of the entire surface of the control and causes the control to be redrawn.
InvalidateItem Invalidate an item.
InvalidateItemByIndex Invalidate the item at the specified index.
IsItemVisible Gets a value that indicate whether the specified item or part is currently visible in the viewer.
IsSyncDisabled Determines if syncing for a group has been disabled.
OnTransformChanged Raises the OnTransformChanged event.
OnVirtualizeItemReady Raises the VirtualizeItemReady event.
RenderRedirect Render the content of the viewer to an external context.
Reset Resets the display properties to their default values (single item mode).
RestrictScrollOffset Ensures a scroll position is inside the minimum and maximum scroll value currently allowed.
ScrollBy Scrolls the viewer by the specified amount in pixels.
ScrollByRestrict Scrolls the viewer by the specified amount in pixels while always restricting the value to the current minimum and maximum allowed.
Sync Establishes sync groups.
TranslateItemScaleFactor Translates an item horizontally or vertically a given amount of pixels regardless of the current zoom value.
Unsync Removes a single viewer from the sync group.
UnsyncGroup Un-syncs all members of the sync group of the given sync ID.
UpdateTransform Re-calculates the transformation matrices and update the view layout.
Zoom Zooms or changes the size mode of the view.
ZoomToRect Zooms the view to the specified rectangle.

Protected Methods

Name Description
Dispose(bool) Clean up any resources being used.
GetItemImageTransformScaleOnly Transformation matrix of the image of an item without translation and rotation.
IsInputKey Overrides System.Windows.Forms.Control.IsInputKey(System.Windows.Forms.Keys).
OnActiveItemChanged Raises the ActiveItemChanged event.
OnDragDrop Overrides System.Windows.Forms.Control.OnDragDrop(System.Windows.Forms.DragEventArgs).
OnDragEnter Overrides System.Windows.Forms.Control.OnDragEnter(System.Windows.Forms.DragEventArgs).
OnDragLeave Overrides System.Windows.Forms.Control.OnDragLeave(System.EventArgs).
OnDragOver Overrides System.Windows.Forms.Control.OnDragOver(System.Windows.Forms.DragEventArgs).
OnItemChanged Raises the ItemChanged event.
OnItemDragDrop Raises the ItemDragDrop event.
OnItemError Raises the ItemError event.
OnMouseDown Overrides System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs).
OnPaint Overrides System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs).
OnPaintBackground Overrides System.Windows.Forms.Control.OnPaintBackground(System.Windows.Forms.PaintEventArgs).
OnPostRender Raises the PostRender event.
OnPostRenderItem Raises the PostRenderItem event.
OnPreRender Raises the PreRender event.
OnPreRenderItem Raises the PreRenderItem event.
OnPropertyChanged Raises the PropertyChanged event.
OnRedirectRender Raises the RedirectRender event.
OnRender Raises the Render event.
OnRenderBackground Raises the RenderBackground event.
OnRenderBorder Raises the RenderBorder event.
OnRenderError Raises the RenderError event.
OnRenderImage Raises the RenderImage event.
OnRenderItem Raises the RenderItem event.
OnRenderItemFloater Raises the RenderItemFloater event.
OnRenderItemFloaterRegion Raises the RenderItemFloaterRegion event.
OnRenderItemRegion Raises the RenderItemRegion event.
OnRenderShadow Raises the RenderShadow event.
OnRenderText Raises the RenderText event.
OnScrollOffsetChanged Raises the ScrollOffsetChanged event.
OnSelectedItemsChanged Raises the SelectedItemsChanged event.
OnSizeChanged Overrides System.Windows.Forms.Control.OnSizeChanged(System.EventArgs).
ProcessDropImage Processes the image dropped on this ImageViewer during a drag/drop operation.
WndProc Overrides System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message@).
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly