IGeometrySink.AddLine 方法
Defines points other than the starting endpoint in a geometry instance. This API is obsolete. IGeometrySink110 should be used instead.
命名空間: Microsoft.SqlServer.Types
組件: Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)
語法
'宣告
Sub AddLine ( _
x As Double, _
y As Double, _
z As Nullable(Of Double), _
m As Nullable(Of Double) _
)
'用途
Dim instance As IGeometrySink
Dim x As Double
Dim y As Double
Dim z As Nullable(Of Double)
Dim m As Nullable(Of Double)
instance.AddLine(x, y, z, m)
void AddLine(
double x,
double y,
Nullable<double> z,
Nullable<double> m
)
void AddLine(
double x,
double y,
Nullable<double> z,
Nullable<double> m
)
abstract AddLine :
x:float *
y:float *
z:Nullable<float> *
m:Nullable<float> -> unit
function AddLine(
x : double,
y : double,
z : Nullable<double>,
m : Nullable<double>
)
參數
- x
型別:System.Double
A double that specifies the x-coordinate of a point in a geometry instance.
- y
型別:System.Double
A double that specifies the y-coordinate of a point in a geometry instance.
- z
型別:System.Nullable<Double>
A double that specifies the z-coordinate of a point in a geometry instance. Is Nullable.
- m
型別: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.