←Select platform
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 AspectRatioCorrection Manual aspect ratio correction value
Public Property AutoDisposeImages Indicates whether to automatically dispose item images, SVG documents and floaters.
Public Property AutoResetOptions Determines which display properties to reset when a new image is set into the viewer (single item mode).
Public Property AutoScroll Indicates whether the viewer will automatically show the standard scrollbars when the view size is larger than the client size.
Public Property BackImage Optional background image to be displayed in the viewer (single item mode).
Public Property BackImageUrl URL to the optional background image to be displayed in the viewer (single item mode).
Public Property BorderStyle Border style of the control.
Public Property ClipImageToContent Indicates whether to clip the image outside the content area if ResizeOnTransform was set to false.
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 Flip Flip the view vertically.
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 HasImage Gets a value that indicates if the viewer currently has an image (single item mode).
Public Property HasItems Gets a value that indicates whether this viewer has any items.
Public Property HasSize Whether or not this control has a valid size.
Public Property HitTestStateInteractiveMode The ImageViewerInteractiveMode that is currently in a hit-test state.
Public Property HoveredItemBackgroundColor Hovered item's background color.
Public Property HoveredItemBorderColor Hovered item's border color.
Public Property IdleInteractiveMode The ImageViewerInteractiveMode that is currently acting as the first idle mode.
Public Property Image Image to be displayed in the viewer (single item mode).
Public Property ImageBackgroundColor Image's background color.
Public Property ImageBorderColor Image's border color.
Public Property ImageBorderThickness Image's border thickness.
Public Property ImageBounds Physical position and size of the image in the viewer (single item mode).
Public Property ImageDropShadow Image's drop shadow properties.
Public Property ImageHorizontalAlignment Specifies how to align the images inside their items horizontally.
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 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 be displayed 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 Invert Indicates whether to invert the item's images.
Public Property IsRenderRedirected Gets a value that indicates whether the current rendering operation is targeting an external device rather than 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 ItemBackgroundColor Default item's background color.
Public Property ItemBorderColor Default item's border color.
Public Property ItemBorderThickness Item's 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 item's 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 item's text color.
Public Property ItemTextFont Item's text font.
Public Property ItemTextTrimming Item's text trimming options.
Public Property ItemTextWrap Indicates whether the item's 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 LoadImageUrlAsSvg Indicates whether to load the image URL as SVG.
Public Property MaximumScaleFactor Maximum scale factor allowed.
Public Property MaximumScrollSize Current maximum scroll size allowed.
Public Property MinimumScaleFactor Minimum scale factor allowed.
Public Property OwnerDraw Indicates whether the control automatically renders the view and items.
Public Property PageRasterizer IPageRasterizer to be displayed in the viewer (single item mode).
Public Property PaintProperties Options used by this viewer when rendering RasterImage objects.
Public Property RasterCodecsInstance The RasterCodecs instance used to load raster images and SVG documents.
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 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 a view area that is larger than the control's size.
Public Property ScrollOffset Scroll offset value.
Public Property SelectedItemBackgroundColor Selected item's background color.
Public Property SelectedItemBorderColor Selected item's border color.
Public Property SelectedItemTextColor Selected item's text color.
Public Property SizeMode Gets a value that determines how the control displays the view and adjusts the display automatically.
Public Property SvgDocument SVG document to be displayed in the viewer (single item mode).
Public Property SyncId Gets the sync ID of this image viewer.
Public Property Text Overrides System.Windows.Forms.Control.Text.
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 Transition Gets or sets the Leadtools.Windows.Media.Transitions.TransitionBase that specifies the type of transition or animation to be applied on this control.
Public Property UseDpi Indicates whether the control must account for the physical resolution of the images when calculating the display properties.
Public Property ViewBorderColor View border color.
Public Property ViewBorderThickness View border thickness.
Public Property ViewBounds Current view bounds.
Public Property ViewDropShadow View drop shadow properties.
Public Property ViewHorizontalAlignment Specifies how to align the view inside the control horizontally.
Public Property ViewLayout 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 Virtualizer Optional virtualizer object that can be used to load a large amount of image data in this ImageViewer.
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.

Protected Properties

Name Description
Protected Property CanRender Gets a value that indicates if the ImageViewer will render the content when changes are made to the control's properties or to the items.
Protected Property CanTransform Gets a value that indicates if the ImageViewer will update the transformation matrices and view layout when changes are made to the control's properties or to the items.
Protected Property CreateParams Overrides System.Windows.Forms.Control.CreateParams.

See Also

ImageViewer Class

Leadtools.Controls Namespace

Help Version 22.0.2021.11.9
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.