IMcWarpSourcePoints Property
|
|
Read/write property used to set or get the array of source points
(at least four points whose transformed coordinates are contained in DestPoints).
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxProperty SourcePoints (
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
warp.SourcePoints = pArray
warp.SourcePoints(0) = p1
warp.SourcePoints(2,0) = 10
See Also