LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Pen Property (AnnDrawable)






Gets or sets the AnnPen associated with this AnnDrawable object.
Syntax
public virtual AnnPen Pen {get; set;}
'Declaration
 
Public Overridable Property Pen As AnnPen
'Usage
 
Dim instance As AnnDrawable
Dim value As AnnPen
 
instance.Pen = value
 
value = instance.Pen
public virtual AnnPen Pen {get; set;}
 get_Pen();
set_Pen(value);
public:
virtual property AnnPen^ Pen {
   AnnPen^ get();
   void set (    AnnPen^ value);
}

Property Value

The AnnPen associated with this AnnDrawable object.
Remarks

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 ignored.

Example
For an example, refer to AnnDrawable.
Requirements

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

See Also

Reference

AnnDrawable Class
AnnDrawable Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.