PDF for WinRT
DrawLine(Pen,Double,Double,Double,Double) Method


Pen object that determines the color, width, and style of the line.
x-coordinate of the first point.
y-coordinate of the first point.
x-coordinate of the second point.
y-coordinate of the second point.
Draws a line connecting the two points specified by coordinate pairs.
Syntax
'Declaration
 
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double _
) 
'Usage
 
Dim instance As C1PdfDocument
Dim pen As Pen
Dim x1 As Double
Dim y1 As Double
Dim x2 As Double
Dim y2 As Double
 
instance.DrawLine(pen, x1, y1, x2, y2)
public void DrawLine( 
   Pen pen,
   double x1,
   double y1,
   double x2,
   double y2
)

Parameters

pen
Pen object that determines the color, width, and style of the line.
x1
x-coordinate of the first point.
y1
y-coordinate of the first point.
x2
x-coordinate of the second point.
y2
y-coordinate of the second point.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
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

C1PdfDocument Class
C1PdfDocument Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback