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




Gets or sets the Pen object to be used when drawing the selected zone.

Syntax

Visual Basic (Declaration) 
Public Property SelectedPen As Pen
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentDrawZoneOptions
Dim value As Pen
 
instance.SelectedPen = value
 
value = instance.SelectedPen
C# 
public Pen SelectedPen {get; set;}
Managed Extensions for C++ 
public: __property Pen get_SelectedPen();
public: __property void set_SelectedPen( 
   Pen value
);
C++/CLI 
public:
property Pen SelectedPen {
   Pen get();
   void set (Pen value);
}

Return Value

The Pen object used with drawing the selected zone.

Remarks

To draw zones with the page, call DrawPage. Call this property before calling DrawPage if you need to use new Pen object for drawing zones. To specify a Pen object for all zones, call ZonePen property.
To draw a specific selected zone call SelectZone or SelectZoneByPoint.
For more information, refer to Drawing Pages and Zones.

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.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features