←Select platform

IsVisible Property

Summary

Indicates if this item is visible.

Syntax
C#
C++/CLI
public bool IsVisible { get; set; } 
public:  
   property bool IsVisible 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if this item is visible, otherwise; false. Default value is true.

Remarks

Invisible items (the value of IsVisible is false) will not be rendered nor participate in layout calculations.

For more information, refer Image Viewer Items, Image Viewer Layouts and Image Viewer Rendering.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
using Leadtools.Svg; 
 
_imageViewer.BeginUpdate(); 
_imageViewer.Items[0].IsVisible = !_imageViewer.Items[0].IsVisible; 
Debug.WriteLine(string.Format("_imageViewer.Items[0].IsVisible = {0}", _imageViewer.Items[0].IsVisible)); 
_imageViewer.EndUpdate(); 
Requirements

Target Platforms

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

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