Leadtools.Annotations Namespace > AnnObject Class : Visible Property |
public virtual bool Visible {get; set;}
'Declaration Public Overridable Property Visible As Boolean
'Usage Dim instance As AnnObject Dim value As Boolean instance.Visible = value value = instance.Visible
Imports Leadtools Imports Leadtools.Annotations Imports Leadtools.Codecs Imports Leadtools.WinForms Imports Leadtools.Drawing Public Sub AnnObject_Visible(ByVal container As AnnContainer) For Each obj As AnnObject In container.Objects If (Not obj.Visible) Then obj.Visible = True End If Next obj End Sub
using Leadtools; using Leadtools.Annotations; using Leadtools.Codecs; using Leadtools.WinForms; using Leadtools.Drawing; public void AnnObject_Visible(AnnContainer container) { foreach(AnnObject obj in container.Objects) { if(!obj.Visible) obj.Visible = true; } }