Leadtools.Windows.Annotations Namespace > AnnObject Class : Invalidate Method |
public virtual void Invalidate()
'Declaration Public Overridable Sub Invalidate()
'Usage Dim instance As AnnObject instance.Invalidate()
public virtual void Invalidate()
function Leadtools.Windows.Annotations.AnnObject.Invalidate()
public: virtual void Invalidate();
Private Sub InvalidateExample(ByVal container As AnnContainer) For Each obj As AnnObject In container.Children If TypeOf (obj) Is AnnLineObject Then obj.Stroke = Colors.Red obj.Invalidate() End If Next End Sub
private void InvalidateExample(AnnContainer container) { foreach(AnnObject obj in container.Children) { if(obj is AnnLineObject) { obj.Stroke = Colors.Red; obj.Invalidate(); } } }
private void InvalidateExample(AnnContainer container) { foreach(AnnObject obj in container.Children) { if(obj is AnnLineObject) { obj.Stroke = Colors.Red; obj.Invalidate(); } } }
Private Sub InvalidateExample(ByVal container As AnnContainer) For Each obj As AnnObject In container.Children If TypeOf obj Is AnnLineObject Then obj.Stroke = Colors.Red obj.Invalidate() End If Next obj End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2