←Select platform

ImageViewer Methods

Summary

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

Public Methods

Name Description
BeginUpdate Stops the viewer from being updated if any change is applied. This is useful to increase the control's speed efficiency.
CenterAtPoint Centers the image display at the specified point.
ConvertPoint Converts the specified point from one CoordinateType to another.
ConvertRect Converts the specified rectangle from one CoordinateType to another.
EndUpdate Use this method to indicate that updates to the ImageViewer are complete.
freeRasterImage Frees the LTRasterImage.
GetMouseInteractiveMode Gets the current ImageViewerInteractiveMode assigned to the specified MouseButton.
GetTransform Gets the current transformation matrix used for displaying the image with or without DPI scaling.
ImageControlRectangle Gets the location and size of the image in the viewer in control coordinates.
ImageDrawListener Occurs when the viewer is drawing the image.
ImageViewerDrawListener Occurs when viewer is drawing.
Invalidate Invalidates the entire surface of the control and causes the control to be redrawn.
OnImageChanged Raises the ImageChanged event.
OnTransformChanged Raises the TransformChanged event.
ScrollBy Scrolls the image by the specified amount.
scrollBy Scrolls the image by the specified amount.
scrollTo Scrolls the image to the specified position.
SetMouseInteractiveMode Sets the current ImageViewerInteractiveMode for the specified MouseButton.
Zoom Zooms or changes the size mode of the image inside the viewer.
ZoomToRect Zooms the image to the specified rectangle.

Top

Protected Methods

Name Description
BeginScroll Indicates that the ImageViewer should stop obtaining the value of the auto scrollbar location.
dispatchDraw Draws the child views of the ImageViewer.
EndScroll Starts the ImageViewer obtaining the value of the auto scrollbar location again.
OnImageError Raises the ImageError event.
onLayout Measures the ImageViewer and its content to determine the measured size.
onMeasure Measures the ImageViewer and its content to determine the size.
onPostDrawImage Raises the ImageDrawListener postDraw event.
onPostDrawViewer Raises the ImageViewerDrawListener postDraw event.
onPreDrawImage Raises the ImageViewerDrawListener preDraw event.
onPreDrawViewer Raises the ImageViewerDrawListener preDraw event.
OnPropertyChanged Raises the PropertyChanged event.
onPropertyChanged Raises the PropertyChanged event.
OnScrollChanged Raises the ScrollChanged event.
onSizeChanged Occurs when the ImageViewer size is changed.
OnWorkingInteractiveModeChanged Raises the WorkingInteractiveModeChanged event.

Top

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)