Indicates if this item is visible.
public bool IsVisible { get; set; }
Public Property IsVisible() As Boolean
Get
Set
public:
property bool IsVisible
{
bool get()
void set(bool value)
}
true if this item is visible, otherwise; false. Default value is true.
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.
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
using LeadtoolsExamples.Common;
using Leadtools.ImageProcessing;
using Leadtools.ImageProcessing.Color;
_imageViewer.BeginUpdate();
_imageViewer.Items[0].IsVisible = !_imageViewer.Items[0].IsVisible;
MessageBox.Show(string.Format("_imageViewer.Items[0].IsVisible = {0}", _imageViewer.Items[0].IsVisible));
_imageViewer.EndUpdate();
Imports Leadtools
Imports Leadtools.Controls
Imports Leadtools.Codecs
Imports Leadtools.Drawing
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color
Imports LeadtoolsControlsExamples.LeadtoolsExamples.Common
_imageViewer.BeginUpdate()
_imageViewer.Items(0).IsVisible = Not _imageViewer.Items(0).IsVisible
MessageBox.Show(String.Format("_imageViewer.Items[0].IsVisible = {0}", _imageViewer.Items(0).IsVisible))
_imageViewer.EndUpdate()
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET