←Select platform

ImageViewer Class Members

Summary

The following tables list the members exposed by ImageViewer.

Public Constructors

Name Description
ImageViewer Initializes a new instance of the ImageViewer class.

Public Methods

Name Description
BeginUpdate Stops the viewer from being updated if any change is applied. This is useful to increase the control speed efficiency.
BoundsFromImageCoordinates Converts a rectangle from image to control (display) coordinates.
BoundsToImageCoordinates Converts a rectangle from control (display) to image coordinates.
CancelInteractiveMode Cancels the current interactive mode.
CenterAtPoint Centers the image display at the specified point.
EndUpdate Refreshes the control to include all the changes made after using the BeginUpdate method.
OnApplyTemplate Builds the visual tree of the control
PointFromImageCoordinates Converts a point from image to control (display) coordinates.
PointToImageCoordinates Converts a point from control (display) to image coordinates.
SetInteractiveModeCursor Sets the mouse cursors associated with an interactive mode
ZoomToRectangle Zooms the image to the specified rectangle.

Protected Methods

Name Description
OnAspectRatioCorrectionChanged Raises the AspectRatioCorrectionChanged event.
OnBitmapScalingModeChanged Raises the BitmapScalingModeChanged event.
OnFlipChanged Raises the FlipChanged event.
OnGeometryChanged Raises the GeometryChanged event.
OnGeometryFrameTypeChanged Raises the GeometryFrameTypeChanged event.
OnImageEffectChanged Raises the ImageEffectChanged event.
OnImageHorizontalAlignmentChanged Raises the ImageHorizontalAlignmentChanged event.
OnImageSizeChanged Raises the ImageSizeChanged event.
OnImageVerticalAlignmentChanged Raises the ImageVerticalAlignmentChanged event.
OnInteractiveCenterAt Raises the InteractiveCenterAt event.
OnInteractiveMagnifyGlass Raises the InteractiveMagnifyGlass event.
OnInteractiveModeChanged Raises the InteractiveModeChanged event.
OnInteractiveModeEnded Raises the InteractiveModeEnded event.
OnInteractivePan Raises the InteractivePan event.
OnInteractiveScale Raises the InteractiveScale event.
OnInteractiveUserRectangle Raises the InteractiveUserRectangle event.
OnInteractiveZoomTo Raises the InteractiveZoomTo event.
OnLostFocus Overrides System.Windows.UIElement.OnLostFocus(System.Windows.RoutedEventArgs)
OnResetImageViewOptionsChanged Raises the ResetImageViewOptionsChanged event.
OnReverseChanged Raises the ReverseChanged event.
OnRotateAngleChanged Raises the RotateAngleChanged event.
OnScaleFactorChanged Raises the ScaleFactorChanged event.
OnScreenDpiXChanged Raises the ScreenDpiXChanged event.
OnScreenDpiYChanged Raises the ScreenDpiXChanged event.
OnScrollChanged Raises the ScrollChanged event.
OnSizeModeChanged Raises the SizeModeChanged event.
OnSourceChanged Raises the SourceChanged event.
OnSourceDpiXChanged Raises the SourceDpiXChanged event.
OnSourceDpiYChanged Raises the SourceDpiYChanged event.
OnTransformChanged Raises the TransformChanged event.
OnTransitionChanged Raises the TransitionChanged event.
OnUseDpiChanged Raises the UseDpiChanged event.

Public Properties

Name Description
AspectRatioCorrection Gets or sets the manual aspect ratio correction value. This is a dependency property.
BitmapScalingMode Gets or sets the algorithm used to scale bitmap images.
ConversionResizeRatio The conversion ratio being used when converting raster image to WriteableBitmap before viewing it
CurrentXScaleFactor Gets the current horizontal scale factor
CurrentYScaleFactor Gets the current vertical scale factor
Flip Gets or sets a value that indicates whether the image in the control will be flipped vertically. This is a dependency property.
Geometry Gets or sets the geometry object to frame or animate on top of this ImageViewer or RasterImageViewer control.
GeometryFrameType Gets or sets a value indicating the current geometry frame type.
ImageEffect Gets or sets the bitmap effect to apply to the image in this control. This is a dependency property.
ImageHorizontalAlignment Gets or sets a value that indicates the horizontal alignment for the image in this control. This is a dependency property.
ImageVerticalAlignment Gets or sets a value that indicates the vertical alignment for the image in this control. This is a dependency property.
InteractiveMode Gets or sets a value that indicates the current user interaction mode with the control's display. This is a dependency property.
IsInteractiveModeBusy Determines if the control is currently performing an interactive operation.
MagnifyGlass Gets or sets the MagnifyGlass object used to perform magnify glass operations for this control.
PhysicalSize Gets the physical (screen) viewing size.
ResetImageViewOptions Gets or sets a value that determines which properties gets reset when a new image is set into the Source property. This is a dependency property.
Reverse Gets or sets a value that indicates whether the image in the control will be flipped horizontally. This is a dependency property.
RotateAngle Gets or sets a value that indicates the rotation angle in degrees to apply to the image in the control. This is a dependency property.
ScaleFactor Gets or sets the zoom factor used to display the image. This is a dependency property.
ScreenDpiX Gets or sets the current screen horizontal resolution in dots/inch (or DPI). This is a dependency property.
ScreenDpiY Gets or sets the current screen vertical resolution in dots/inch (or DPI). This is a dependency property.
ScrollViewer Gets the ScrollViewer part of this control
SizeMode Gets or sets a value that determine how the control displays the image and the automatic adjustments of the display. This is a dependency property.
Source Gets or sets the System.Windows.Media.ImageSource to be displayed in this control. This is a dependency property.
SourceDpiX Gets or sets the horizontal resolution in dots/inch (or DPI) of the image in Source. This is a dependency property.
SourceDpiY Gets or sets the vertical resolution in dots/inch (or DPI) of the image in Source. This is a dependency property.
Transform Gets the current display matrix used in this control.
Transition Gets or sets the Leadtools.Windows.Media.Transitions.TransitionBase that specifies the type of transition or animation to be applied on this control.
UseDpi Gets or sets a value that indicates whether the control must account for the physical resolution of the image when calculating the display properties. This is a dependency property.

Public Events

Name Description
AspectRatioCorrectionChanged Occurs when the value of the AspectRatioCorrection property changes.
BitmapScalingModeChanged Occurs when the value of the BitmapScalingMode property changes.
FlipChanged Occurs when the value of the Flip property changes.
GeometryChanged Occurs when the value of the Geometry property changes.
GeometryFrameTypeChanged Occurs when the value of the GeometryFrameType property changes.
ImageEffectChanged Occurs when the value of the ImageEffect property changes.
ImageHorizontalAlignmentChanged Occurs when the value of the ImageHorizontalAlignment property changes.
ImageSizeChanged Occurs when the control size changes.
ImageVerticalAlignmentChanged Occurs when the value of the ImageVerticalAlignment property changes.
InteractiveCenterAt Occurs when the user performs interactive centering of the image display.
InteractiveMagnifyGlass Occurs when the user is using the MagnifyGlass on this control.
InteractiveModeChanged Occurs when the value of the InteractiveMode property changes.
InteractiveModeEnded Occurs when the operation of the current InteractiveMode ended successfully.
InteractivePan Occurs when the user performs interactive panning of the image display.
InteractiveScale Occurs when the user performs interactive scaling of the image display.
InteractiveUserRectangle Occurs when the user performs user-defined interactive drawing of a rectangle.
InteractiveZoomTo Occurs when the user performs interactive zoom to rectangle of the image display.
ResetImageViewOptionsChanged Occurs when the value of the ResetImageViewOptions property changes.
ReverseChanged Occurs when the value of the Reverse property changes.
RotateAngleChanged Occurs when the value of the RotateAngle property changes.
ScaleFactorChanged Occurs when the value of the ScaleFactor property changes.
ScreenDpiXChanged Occurs when the value of the ScreenDpiX property changes.
ScreenDpiYChanged Occurs when the value of the ScreenDpiY property changes.
ScrollChanged Occurs when changes are detected to the scrollbars position, extent, viewport size or visibility of the control.
SizeModeChanged Occurs when the value of the SizeMode property changes.
SourceChanged Occurs when the value of the Source property changes.
SourceDpiXChanged Occurs when the value of the SourceDpiX property changes.
SourceDpiYChanged Occurs when the value of the SourceDpiY property changes.
TransformChanged Occurs when any visual transformation properties changes in the control.
TransitionChanged Occurs when the value of the Transition property changes.
UseDpiChanged Occurs when the value of the UseDpi property changes.

Public Fields

Name Description
AspectRatioCorrectionProperty Identifies the AspectRatioCorrection dependency property.
BitmapScalingModeProperty Identifies the BitmapScalingMode dependency property.
FlipProperty Identifies the Flip dependency property.
GeometryFrameTypeProperty Identifies the GeometryFrameType dependency property.
GeometryProperty Identifies the Geometry dependency property.
ImageEffectProperty Identifies the ImageEffect dependency property.
ImageHorizontalAlignmentProperty Identifies the ImageHorizontalAlignment dependency property.
ImageVerticalAlignmentProperty Identifies the ImageVerticalAlignment dependency property.
InteractiveModeProperty Identifies the InteractiveMode dependency property.
ResetImageViewOptionsProperty Identifies the ResetImageViewOptions dependency property.
ReverseProperty Identifies the Reverse dependency property.
RotateAngleProperty Identifies the RotateAngle dependency property.
ScaleFactorProperty Identifies the ScaleFactor dependency property.
ScreenDpiXProperty Identifies the ScreenDpiX dependency property.
ScreenDpiYProperty Identifies the ScreenDpiY dependency property.
SizeModeProperty Identifies the SizeMode dependency property.
SourceDpiXProperty Identifies the SourceDpiX dependency property.
SourceDpiYProperty Identifies the SourceDpiY dependency property.
SourceProperty Identifies the Source dependency property.
TransitionProperty Identifies the Transition dependency property.
UseDpiProperty Identifies the UseDpi dependency property.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly