←Select platform

ClipImageToContent Property

Summary

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

Syntax
C#
VB
C++
public virtual bool ClipImageToContent { get; set; } 
Public Overridable Property ClipImageToContent() As Boolean 
   Get 
   Set 
public:  
   virtual property bool ClipImageToContent 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to clip the image outside the content area 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

Setting this value will automatically update ImageViewerItem.ClipImageToContent of all the items in this viewer to the same value. To change an item value individually, use the item property directly.

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

Requirements
Target Platforms
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.