In This Topic ▼

ImageViewer Class Properties

Summary

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

Public Properties

Name Description
Public Property activeItem Active item of this image viewer.
Public Property activeItemBackgroundColor Active item background color.
Public Property activeItemBorderColor Active item border color.
Public Property allowDrop Indicates whether the viewer can accept data that the user drags onto it.
Public Property aspectRatioCorrection Manual aspect ratio correction value.
Public Property autoCreateCanvas Indicates whether to automatically create the HTML5 Canvas Element when the image is updated.
Public Property autoResetOptions Determines which display properties to reset when a new image is set into the viewer (when in single item mode).
Public Property autoScrollDiv Auto Scroll HTML Div Element.
Public Property backImage Optional background element to be displayed in the viewer (single item mode).
Public Property backImageLoadImageUrlMode Specifies how an image should be loaded when this item is provided a URL (single item mode).
Public Property backImageUrl URL to the optional background image to displayed in the viewer (single item mode).
Public Property canRender Gets a value that indicate if the ImageViewer will render the content when changes are made to the control's properties or to the items.
Public Property canTransform Gets a value that indicate if the ImageViewer will update the transformation matrices and view layout when changes are made to the control's properties or to the items.
Public Property canvas HTML5 Canvas Element to be displayed in the viewer (single item mode).
Public Property clipImageToContent Indicates whether to clip the image outside the content area if ResizeOnTransform was set to false.
Public Property controlSize Control size.
Public Property defaultInteractiveMode Default interactive mode.
Public Property defaultZoomOrigin Origin of the default zoom point for current horizontal and vertical alignment, in control pixel coordinates.
Public Property dropCopyKeyState Modifier key used to initiate a copy drop operation.
Public Property dropLinkKeyState Modifier key used to initiate a link drop operation.
Public Property dropMoveKeyState Modifier key used to initiate a move drop operation.
Public Property element The HTML or SVG Element to be displayed in the viewer (single item mode).
Public Property enableRequestAnimationFrame Indicates whether the ImageViewer should use HTML5 requestAnimationFrame when renderingthe image.
Public Property eraseBackgroundOnInvalidate Indicates whether the ImageViewer will clear the foreground canvas prior to rendering.
Public Property eventCanvas The Background HTML5 Canvas Element.
Public Property flip Flip the view vertically.
Public Property flipImageElement Flip the image vertically without the border.
Public Property floater Floater image (single item mode).
Public Property floaterOpacity Opacity used when rendering the floaters in this ImageViewer.
Public Property floaterRegionRenderMode Indicates how floater regions are rendered.
Public Property floaterTransform Transformation matrix used by the floater image (single item mode).
Public Property foreCanvas The Foreground HTML5 Canvas Element.
Public Property hasImage Gets a value that indicate if the viewer currently has an image (single item mode).
Public Property hasItems Gets a value that indicate whether this viewer has any items.
Public Property hasSize Whether or not the ControlSize has a valid size.
Public Property hitTestStateInteractiveMode The ImageViewerInteractiveMode that is currently in a hit-test state.
Public Property hoveredItemBackgroundColor Hovered items background color.
Public Property hoveredItemBorderColor Hovered items border color.
Public Property idleInteractiveMode The ImageViewerInteractiveMode that is currently acting as the first idle mode.
Public Property image The HTML Image Element to be displayed in the viewer (single item mode).
Public Property imageBackgroundColor Images background color.
Public Property imageBorderColor Images border color.
Public Property imageBorderThickness Images border thickness.
Public Property imageBounds Physical position and size of the image in the viewer (single item mode).
Public Property imageDropShadow The Image's drop shadow properties.
Public Property imageHorizontalAlignment Specifies how to align the images inside their items horizontally.
Public Property imageProcessingLibrariesPath Path to the image processing library script files.
Public Property imageRegionRenderMode Indicates how image regions are rendered.
Public Property imageResolution Resolution in dots/inch (or DPI) of the image (single item mode).
Public Property imageScale Optional scale value to use when rendering the images (single item mode).
Public Property imagesDiv Internally used for loading SVG documents with embedded images.
Public Property imageSize Size of the image in the viewer (single item mode).
Public Property imageTransform Current transformation matrix used for displaying the image (single item mode).
Public Property imageUrl URL to the image to display in the viewer (single item mode).
Public Property imageVerticalAlignment Specifies how to align the images inside their items vertically.
Public Property interactiveModes The list of interactive modes in this ImageViewer.
Public Property interactiveService The InteractiveService for this viewer control.
Public Property interpolationMode Interpolation mode used by this ImageViewer.
Public Property interpolationRunMode Interpolation run mode used by this ImageViewer.
Public Property invert Indicates whether to invert the item images.
Public Property isRenderRedirected Gets a value that indicate whether the current rendering operation is targeting an external device rather the control itself.
Public Property isSyncSource Indicates that this image viewer can act as a sync source.
Public Property isSyncTarget Indicates that this image viewer can act as a sync target.
Public Property isTransitionsEnabled Detect if the image viewer is in a state where CSS transition detection is enabled.
Public Property itemBackgroundColor Default items background color.
Public Property itemBorderColor Default items border color.
Public Property itemBorderThickness Items border thickness.
Public Property itemHorizontalAlignment Specifies how to align the items inside the view horizontally.
Public Property itemMargin Margins to use between the view and the items.
Public Property itemPadding Padding to use between the items border and the content.
Public Property items The collection of items in this ImageViewer.
Public Property itemSize Default item size.
Public Property itemSizeMode Indicates how the images are displayed inside their items.
Public Property itemSpacing Spacing to use between neighboring items.
Public Property itemTextColor Default items text color.
Public Property itemTextFont Items text font.
Public Property itemTextTrimming Items text trimming options.
Public Property itemTextWrap Indicates whether the items text should automatically wrap to the next line if needed.
Public Property itemVerticalAlignment Specifies how to align the items inside the view vertically.
Public Property loadImageUrlMode Specifies how an image should be loaded when this item is provided a URL (single item mode).
Public Property mainDiv Main HTML Div Element.
Public Property maximumScaleFactor Maximum scale factor allowed.
Public Property maximumScrollSize Current maximum scroll size allowed.
Public Property minimumScaleFactor Minimum scale factor allowed.
Public Property name User-defined name associated with the ImageViewer instance.
Public Property ownerDraw Indicates whether the control automatically renders the view and items.
Public Property passthroughDiv An HTML Div Element used for assistance with pointer events capture.
Public Property resizeElementForView Indicates whether to resize the item element instead of scaling it for the view.
Public Property resizeOnTransform Indicates whether the viewer should change the size of the scrolling area when an item is transformed.
Public Property restrictScroll Indicates whether scrolling or panning the view outside the maximum range is allowed.
Public Property reverse Reverse the view horizontally.
Public Property reverseImageElement Reverse the image horizontally without the border.
Public Property rotateAngle Value of the rotation angle to use when displaying the view.
Public Property scaleFactor Value of the scale factor for the view display.
Public Property screenDpi Current screen resolution in dots per inch (or DPI).
Public Property scrollMode Determines how the control handles scrollbars when the current transformation results in the view area being larger than the control.
Public Property scrollOffset Scroll offset value.
Public Property selectedItemBackgroundColor Selected items background color.
Public Property selectedItemBorderColor Selected items border color.
Public Property selectedItemTextColor Selected items text color.
Public Property sizeMode Gets a value that determines how the control displays the view and adjusts the display automatically.
Public Property syncId Gets the sync ID of this image viewer.
Public Property tag Object that contains data about the control.
Public Property textHorizontalAlignment Specifies how to align the text inside their items horizontally.
Public Property textVerticalAlignment Specifies how to align the text inside their items vertically.
Public Property updateShadowOnRotation Deprecated. Indicates whether to update the CSS values for the box-shadow property of each item border element.
Public Property useDpi Indicates whether the control must account for the physical resolution of the images when calculating the display properties.
Public Property useElements Checks if the viewer is using the Elements Mode.
Public Property viewBorderColor View border color.
Public Property viewBorderThickness View border thickness.
Public Property viewBounds Current view bounds.
Public Property viewDiv Holds the item elements and shows the viewer's view margin, view padding, view border, and view box shadow.
Public Property viewDivHolder Parent of the image viewer ImageViewer.ViewDiv.
Public Property viewDropShadow View drop shadow properties.
Public Property viewHorizontalAlignment Specifies how to align the view inside the control horizontally.
Public Property viewLayout The view layout used by this ImageViewer.
Public Property viewMargin Margins to use between the control boundary and the view.
Public Property viewPadding Padding to use between the view border and the items.
Public Property viewSize Current view size in pixels.
Public Property viewTransform Current transformation matrix of the view.
Public Property viewVerticalAlignment Specifies how to align the view inside the control vertically.
Public Property workingInteractiveMode The ImageViewerInteractiveMode that is currently processing the input events (working).
Public Property xScaleFactor Value of the horizontal scale factor for the view display.
Public Property yScaleFactor Value of the vertical scale factor for the view display.

See Also

Reference

ImageViewer Class

Leadtools.Controls Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.