Visual Basic (Declaration) | |
---|---|
Public Overridable Property Pen As AnnPen |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual AnnPen Pen {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property virtual AnnPen* get_Pen(); public: __property virtual void set_Pen( AnnPen* value ); |
Return Value
The AnnPen associated with this AnnDrawable object.For an example, refer to AnnDrawable.
If this AnnDrawable does not support pens (SupportsPen value is false), this property will always return null (Nothing in Visual Basic).
If this AnnDrawable does not support pens (SupportsPen value is false), setting this property to any value will be ignoreed.
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