Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlGeometryBuilder.AddLine Method (Double, Double, Nullable<Double>, Nullable<Double>)

Constructs additional points in the call sequence for a geometry type.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
public virtual void AddLine(
	double x,
	double y,
	Nullable<double> z,
	Nullable<double> m
)

Parameters

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.
z
Type: System.Nullable<Double>
A double that specifies the z-coordinate of a point in a geometry figure. Is Nullable.
m
Type: System.Nullable<Double>
A double that specifies the measure for the point. Is Nullable.

Implements

IGeometrySink.AddLine(Double, Double, Nullable<Double>, Nullable<Double>)

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.