| Visual Basic (Declaration) | |
|---|---|
Public Overridable ReadOnly Property HasPen As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual bool HasPen {get;} | |
Return Value
true if this AnnDrawable object has a pen; false otherwise.For an example, refer to AnnDrawable.
(Read only) An AnnDrawable has a pen if the SupportsPen property is true and the AnnDrawable.Pen property is not null (Nothing in Visual Basic).
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code