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




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

Syntax

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

Return Value

The Pen object used with drawing the zones.

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 the Pen object for the selected zone, call SelectedPen.
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