clipImageToContent Property

Summary

Indicates whether to clip the image outside the item content area if ResizeOnTransform was set to false.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewerItem.prototype, 'clipImageToContent', 
	get: function(), 
	set: function(value) 
) 
clipImageToContent: boolean; 

Property Value

true to clip the image outside the content area of the item if ResizeOnTransform was set to false, otherwise; false. Default value is true.

Remarks

ClipImageToContent is used when ResizeOnTransform is set to false to determine whether to clip the image outside the content area. The following shows the difference when setting this property to true or false (the item is rotated 90 degrees with ResizeOnTransform set to false):

ClipImageToContent

For more information, refer to Image Viewer Items and Image Viewer Appearance.

Requirements

Target Platforms

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

Leadtools.Controls Assembly