IMcImageFromPointsCoordinates Property
|
|
Read/write property used to set or get the array of point coordinates which will be used to create an image.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxProperty Coordinates (
Optional Index As Integer = -1,
Optional XY As Integer = -1
) As Object
Get
Set
Parameters
- Index (Optional)
- Type: SystemInt32
Optional point index. If negative or omitted the entire array is set or returned. - XY (Optional)
- Type: SystemInt32
Set or get y coordinate if 1, x if 0, both if negative.
Return Value
Type:
ObjectA long number, an array of 2 coordinnates or an array of x/y coordinates
depending on the parameters.
RemarksPoints can be set either as [arrays of] numbers, POINT, LONGPOINT, SINGLEPOINT or DOUBLEPOINT and are returned as
DOUIBLPOINT .
ExamplesDim pArray(3) As DOUBLEPOINT
Dim p1 As DOUBLEPOINT
with ThisApplication.ActiveImage.ImageFromPoints
.Coordinates = pArray
.Coordinates(0) = p1
.Coordinates(2,0) = 10
end with
See Also