SpreadsheetGear.Shapes Namespace > IShapes Interface : AddLine Method |
'Declaration
Function AddLine( _ ByVal beginX As System.Double, _ ByVal beginY As System.Double, _ ByVal endX As System.Double, _ ByVal endY As System.Double _ ) As IShape
'Usage
Dim instance As IShapes Dim beginX As System.Double Dim beginY As System.Double Dim endX As System.Double Dim endY As System.Double Dim value As IShape value = instance.AddLine(beginX, beginY, endX, endY)
IShape AddLine( System.double beginX, System.double beginY, System.double endX, System.double endY )
function AddLine( beginX: System.Double; beginY: System.Double; endX: System.Double; endY: System.Double ): IShape;
function AddLine( beginX : System.double, beginY : System.double, endX : System.double, endY : System.double ) : IShape;
Use SpreadsheetGear.IWorksheetWindowInfo.RowToPoints and SpreadsheetGear.IWorksheetWindowInfo.ColumnToPoints to convert row and column positions to points.
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