The Visible Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value indicating whether the AnnObject is visible.Visual Basic (Declaration) | |
---|---|
Public Overridable Property Visible As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim value As Boolean instance.Visible = value value = instance.Visible |
C# | |
---|---|
public virtual bool Visible {get; set;} |
Property Value
true if the annotation object is visible; otherwise, false.The default is true.
This method makes all objects visible.
Visual Basic | Copy Code |
---|---|
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 |
C# | Copy Code |
---|---|
public void AnnObject_Visible(AnnContainer container) { foreach(AnnObject obj in container.Objects) { if(!obj.Visible) obj.Visible = true; } } |
When an object is visible, it is drawn whenever its parent container (or group) is drawn. If the object is invisible, it will not be drawn.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7