Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Brush Property
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : Brush Property




Gets or sets the AnnBrush object associated with this AnnGroupObject object.

Syntax

Visual Basic (Declaration) 
Overrides Public Property Brush As AnnBrush
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As AnnBrush
 
instance.Brush = value
 
value = instance.Brush
C# 
public override AnnBrush Brush {get; set;}
Managed Extensions for C++ 
public: __property AnnBrush* get_Brush()override ;
public: __property void set_Brush( 
   AnnBrush* value
)override ;
C++/CLI 
public:
property AnnBrush^ Brush override {
   AnnBrush^ get();
   void set (AnnBrush^ value);
}

Return Value

The AnnBrush object associated with this AnnGroupObject object.

Remarks

When "getting" this property, internally this AnnGroupObject object will enumerate all objects in the group and return the brush of the first object that has its SupportsBrush value set to true. For more information, refer to Brush.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the Brush value for each object that has its SupportsBrush value set to true. For more information, refer to Brush.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features