Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

ImageViewerItemPart Enumeration

Show in webframe
Defines a part of an item in ImageViewer.
Syntax
Leadtools.Controls.ImageViewerItemPart = function() { };
Leadtools.Controls.ImageViewerItemPart.prototype = {
	view = 0,
	item = 1,
	content = 2,
	image = 3,
	textArea = 4,
	text = 5,
	floater = 6,
	
 };
Members
ValueMemberDescription
0view Do not use a part of the item. Can be used with ImageViewer.GetItemBounds to mean the full bounds in view coordinates. Returned from ImageViewer.HitTestItemPart to mean the point is outside the item (in the view)
1item The item boundary. This is Content plus item margin, border and padding (ImageViewer.ItemMargin, ImageViewer.ItemBorderThickness and ImageViewer.ItemPadding respectively)
2content The content bounds. This is Item minus item margin, border and padding (ImageViewer.ItemMargin, ImageViewer.ItemBorderThickness and ImageViewer.ItemPadding respectively)
3image The image bounds. Inside Content and based on the image size (ImageViewerItem.ImageSize) and alignment (ImageViewerItem.ImageHorizontalAlignment and ImageViewerItem.ImageVerticalAlignment)
4textArea The area where the text is rendered. Actual size is based on font size and value of ImageViewerItem.Text
5text The text bounds, outside the content bounds
6floater The floater bounds. This could be outside the item boundary depending on ImageViewerItem.FloaterTransform
Remarks

For more information, refer to Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, Image Viewer Bounds and Transform and Image Viewer Layouts.

See Also

Reference

Leadtools.Controls Namespace

Error processing SSI file