Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Constructs additional points in a geometry type figure.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
Public Sub AddLine ( _
x As Double, _
y As Double _
)
'Utilisation
Dim instance As SqlGeometryBuilder
Dim x As Double
Dim y As Double
instance.AddLine(x, y)
public void AddLine(
double x,
double y
)
public:
void AddLine(
double x,
double y
)
member AddLine :
x:float *
y:float -> unit
public function AddLine(
x : double,
y : double
)
Paramètres
- x
Type : System.Double
A double that specifies the x-coordinate of a point in a geometry figure.
- y
Type : System.Double
A double that specifies the y-coordinate of a point in a geometry figure.
Notes
Method is used together with BeginFigure() to construct the points of a geometry type figure. BeginFigure() can only construct the starting endpoint for a geometry type figure. Use AddLine() to construct additional points for the figure.
Method throws a FormatException when there is invalid input.