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

IGeometrySink.AddLine Method

Defines points other than the starting endpoint in a geometry instance. This API is obsolete. IGeometrySink110 should be used instead.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
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 instance.
y
Type: System.Double
A double that specifies the y-coordinate of a point in a geometry instance.
z
Type: System.Nullable<Double>
A double that specifies the z-coordinate of a point in a geometry instance. Is Nullable.
m
Type: System.Nullable<Double>
A double that specifies the measure for the point. Is Nullable.

Use this method together with the BeginFigure method to define the points of a geometry instance. The BeginFigure method can only define the starting endpoint for a geometry instance, whereas the AddLine method to defines additional points for the figure.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.