Click or drag to resize

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
Syntax
VB
Property 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: Object
A long number, an array of 2 coordinnates or an array of x/y coordinates depending on the parameters.
Remarks
Points can be set either as [arrays of] numbers, POINT, LONGPOINT, SINGLEPOINT or DOUBLEPOINT and are returned as DOUIBLPOINT .
Examples
VB
Dim pArray(3) As DOUBLEPOINT
Dim p1 As DOUBLEPOINT
warp.SourcePoints = pArray    ' Set the entire array
warp.SourcePoints(0) = p1    ' Set first point using a DOUBLEPOINT.
warp.SourcePoints(2,0) = 10    ' Set y ccordinate of third point.
See Also