(Leadtools.Controls)

ImageViewer Class Members

Show in webframe
Fields  Properties  Methods  Events


The following tables list the members exposed by ImageViewer.

Public Constructors
 NameDescription
ImageViewer ConstructorOverloaded.   
Top
Public Fields
 NameDescription
AllowAutoDropPropertyIdentifies the AllowAutoDrop dependency property.  
AspectRatioCorrectionPropertyIdentifies the AspectRatioCorrection dependency property.  
DefaultInteractiveModePropertyIdentifies the DefaultInteractiveMode dependency property.  
EnableDpiCorrectionPropertyIdentifies the EnableDpiCorrection dependency property.  
FlipPropertyIdentifies the Flip dependency property.  
ImageDpiXPropertyIdentifies the ImageDpiX dependency property.  
ImageDpiYPropertyIdentifies the ImageDpiY dependency property.  
ImageHorizontalAlignmentPropertyIdentifies the ImageHorizontalAlignment dependency property.  
ImageSizePropertyIdentifies the ImageSize dependency property.  
ImageVerticalAlignmentPropertyIdentifies the ImageVerticalAlignment dependency property.  
InteractiveServicePropertyIdentifies the InteractiveService dependency property.  
MaximumScaleFactorThe maximum value for the ScaleFactor property (1000).  
MinimumScaleFactorThe minimum value for the ScaleFactor property (0.001).  
MouseWheelInteractiveModePropertyIdentifies the MouseWheelInteractiveMode dependency property.  
NewImageResetOptionsPropertyIdentifies the NewImageResetOptions dependency property.  
OwnerDrawPropertyIdentifies the OwnerDraw dependency property.  
RestrictHiddenScrollModePropertyIdentifies the RestrictHiddenScrollMode dependency property.  
ReversePropertyIdentifies the Reverse dependency property.  
RotateAnglePropertyIdentifies the RotateAngle dependency property.  
ScaleFactorPropertyIdentifies the ScaleFactor dependency property.  
ScreenDpiXPropertyIdentifies the ScreenDpiX dependency property.  
ScreenDpiYPropertyIdentifies the ScreenDpiY dependency property.  
ScrollModePropertyIdentifies the ScrollMode dependency property.  
ScrollOffsetPropertyIdentifies the ScrollOffset dependency property.  
SizeModePropertyIdentifies the SizeMode dependency property.  
SourcePropertyIdentifies the Source dependency property.  
TouchInteractiveModePropertyIdentifies the TouchInteractiveMode dependency property.  
UseDpiPropertyIdentifies the UseDpi dependency property.  
Top
Public Properties
 NameDescription
AllowAutoDropGets or sets a value that indicates if the viewer handles drop events automatically.  
AspectRatioCorrectionGets or sets the manual aspect ratio correction value  
backgroundColorGets or sets the background color of the viewer.  
ColorFilterGets or sets the color filter for the image.  
ControlSizeGets the control size.  
CurrentScaleFactorGets or sets the current scale factor for the image display.  
CurrentXScaleFactorGets the actual value of the horizontal scale factor for the image display.  
CurrentYScaleFactorGets the actual value of the vertical scale factor for the image display.  
DefaultInteractiveModeGets or sets the ImageViewerInteractiveMode that the viewer control should use to process default input events.  
DefaultZoomOriginGets the origin of the default zoom point for current horizontal and vertical alignment, in control coordinates.  
delegateGets or sets the LTImageViewerDelegate delegate to listen to viewer events.  
dropShadowGets or sets a boolean value that indicates whether the viewer will draw a shadow around the the image.  
EnableDpiCorrectionGets or sets a value that indicates whether the viewer should view images with non-uniform DPI with the correct aspect ratio.  
FlipGets or sets a value which determines if the ImageViewer will display the image flipped vertically.  
HasImageGets a value that indicates if the viewer currently has an image.  
HorizontalScrollHeightGets the height of the horizontal scrollbar.  
imageGets or sets the LTImage(UIImage/NSImage) image object.  
imageBackColorGets or sets the background color of the viewer behind the image.  
ImageBitmapGets or sets the bitmap image object.  
imageBorderColorGets or sets the color of border drawn around image in the viewer.  
imageBorderThicknessGets or sets the thickness of border drawn around image in the viewer  
ImageControlCenterGets the location of the center of the image, in control coordinates.  
ImageDpiXGets or sets the horizontal resolution in dots/inch (or DPI) of the image.  
ImageDpiYGets or sets the vertical resolution in dots/inch (or DPI) of the image.  
ImageHorizontalAlignmentGets or sets a value that indicates the horizontal alignment for the image in this control.  
ImageSizeGets or sets the size of the image in the viewer.  
ImageVerticalAlignmentGets or sets a value that indicates the vertical alignment for the image in this control.  
InteractiveModeCanvasGets the interactive mode canvas.  
InteractiveServiceGets or sets the InteractiveService for this viewer control.  
invertGets or sets a value that indicates whether to invert the image color.  
MouseWheelInteractiveModeGets or sets the ImageViewerInteractiveMode that the viewer control should use to process mouse wheel events.  
NewImageResetOptionsGets or sets a value that determines which properties to reset when a new image is set into the viewer.  
OwnerDrawGets or sets a value that indicates whether the viewer should draw an image on its canvas or not.  
PaintFlagsGets or sets the Paint flags.  
pinchInteractiveModeGets or sets the ImageViewerInteractiveMode that the viewer control should use to process pinch events.  
rasterImageGets or sets the LTRasterImage in the Viewer.  
RealImageSizeGets the real width and height of the image.  
ResizeOnRotateGets or sets a value that indicates whether the viewer should change the size of the scrolling area when the image is rotated.  
RestrictHiddenScrollModeGets or sets a value that indicates whether scrolling or panning the image outside the maximum range is allowed.  
ReverseGets or sets a value which determines if the ImageViewer will display the image reversed horizontally.  
RotateAngleGets or sets the value of the rotation angle to use when displaying the image.  
ScaleFactorGets or sets the scale factor used to display the image.  
ScreenDpiXGets or sets the current screen horizontal resolution in dots per inch (or DPI).  
ScreenDpiYGets or sets the current screen vertical resolution in dots/inch (or DPI).  
ScrollModeGets or sets a value that determines how the control handles scrollbars when the current transformation results in the image being larger than the container.  
ScrollOffsetGets or sets the scroll offset value.  
ScrollRangeGets the size of the current maximum scroll area.  
SizeModeGets or sets a value that determines how the control displays the image and the adjusts the display automatically.  
SourceThe actual ImageSource image object  
TouchInteractiveModeGets or sets the ImageViewerInteractiveMode that the viewer control should use to process touch input events.  
TransformGets the current transformation matrix used for displaying the image.  
UseDpiGets or sets a value that indicates whether the control must account for the physical resolution of the image when calculating the display properties.  
VerticalScrollWidthGets the width of the vertical scrollbar.  
WorkingInteractiveModeGets the ImageViewerInteractiveMode that the viewer control is currently using to process input events.  
Top
Protected Properties
 NameDescription
CanScrollGets a value that determines if the ImageViewer can obtain the value of the auto scrollbar location.  
CanUpdateGets a value that determines if the ImageViewer currently will update the image viewing transform and invalidate the display when changes are made to the control's properties or to the image.  
Top
Public Methods
 NameDescription
BeginUpdateStops the viewer from being updated if any change is applied. This is useful to increase the control's speed efficiency.  
CenterAtPointCenters the image display at the specified point.  
ConvertPointConverts the specified point from one CoordinateType to another.  
ConvertRectConverts the specified rectangle from one CoordinateType to another.  
EndUpdateUse this method to indicate that updates to the ImageViewer are complete.  
freeRasterImageFrees the LTRasterImage.  
GetMouseInteractiveModeGets the current ImageViewerInteractiveMode assigned to the specified MouseButton.  
GetTransformGets the current transformation matrix used for displaying the image with or without DPI scaling.  
ImageControlRectangleGets the location and size of the image in the viewer in control coordinates.  
ImageDrawListenerOccurs when the viewer is drawing the image.  
ImageViewerDrawListenerOccurs when viewer is drawing.  
InvalidateInvalidates the entire surface of the control and causes the control to be redrawn.  
OnImageChangedRaises the ImageChanged event.  
OnTransformChangedRaises the TransformChanged event.  
ScrollByScrolls the image by the specified amount.  
scrollByScrolls the image by the specified amount.  
scrollToScrolls the image to the specified position.  
SetMouseInteractiveModeSets the current ImageViewerInteractiveMode for the specified MouseButton.  
ZoomZooms or changes the size mode of the image inside the viewer.  
ZoomToRectZooms the image to the specified rectangle.  
Top
Protected Methods
 NameDescription
BeginScrollIndicates that the ImageViewer should stop obtaining the value of the auto scrollbar location.  
dispatchDrawDraws the child views of the ImageViewer.  
EndScrollStarts the ImageViewer obtaining the value of the auto scrollbar location again.  
OnImageErrorRaises the ImageError event.  
onLayoutMeasures the ImageViewer and its content to determine the measured size.  
onMeasureMeasures the ImageViewer and its content to determine the size.  
onPostDrawImageRaises the the ImageDrawListener postDraw event.  
onPostDrawViewerRaises the ImageViewerDrawListener postDraw event.  
onPreDrawImageRaises the ImageViewerDrawListener preDraw event.  
onPreDrawViewerRaises the ImageViewerDrawListener preDraw event.  
OnPropertyChangedRaises the PropertyChanged event.  
onPropertyChangedRaises the PropertyChanged event.  
OnScrollChangedRaises the ScrollChanged event.  
onSizeChangedOccurs when the ImageViewer size is changed.  
OnWorkingInteractiveModeChangedRaises the WorkingInteractiveModeChanged event.  
Top
Public Events
 NameDescription
ImageChangedOccurs when the image in the viewer changes.  
ImageErrorOccurs if any error occurred inside the actual ImageSource object.  
PropertyChangedOccurs when a property value in this ImageViewer changes.  
ScrollChangedOccurs when the value of ScrollOffset changes.  
TransformChangedOccurs when the Transform property changes.  
WorkingInteractiveModeChangedOccurs when the WorkingInteractiveMode property changes.  
Top
See Also

Reference

ImageViewer Class
Leadtools.Controls Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.