ActiveReports 8
CreatePen(ColorEx,Single) Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Drawing Namespace > IDrawingCanvas Interface > CreatePen Method : CreatePen(ColorEx,Single) Method

color
The pen color.
width
The pen width.

Glossary Item Box

Initializes a new instance of PenEx with the specified color and width

Syntax

Visual Basic (Declaration) 
Overloads Function CreatePen( _
   ByVal color As ColorEx, _
   ByVal width As System.Single _
) As PenEx
C# 
PenEx CreatePen( 
   ColorEx color,
   System.float width
)

Parameters

color
The pen color.
width
The pen width.

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