Error processing SSI file
(Leadtools.Controls)

Show in webframe

IsVisible Property (ImageViewerItem)




Indicates if this item is visible.
Syntax
public bool IsVisible {get; set;}
'Declaration
 
Public Property IsVisible As Boolean

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
Copy Code  
Imports Leadtools
Imports Leadtools.Controls
Imports Leadtools.Codecs
Imports Leadtools.Drawing
Imports Leadtools.ImageProcessing
Imports Leadtools.ImageProcessing.Color

_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()
using Leadtools;
using Leadtools.Controls;
using Leadtools.Codecs;
using Leadtools.Drawing;
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();
Requirements

Target Platforms

See Also

Reference

ImageViewerItem Class
ImageViewerItem Members

Error processing SSI file