Description

Read/write property used to set or get the array of source points (at least four points whose transformed coordinates are contained in DestPoints).

Property type

A Variant value.  

Syntax

object.SourcePoints([Index], [XY]) [= value]

The SourcePoints Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McWarp.
IndexOptional. A Long value.

Optional point index. If negative or omitted the entire array is set or returned.

XYOptional. A Long value.

Set or get y coordinate if 1, x if 0, both if negative.

valueA Variant value.

Remarks

Points can be set either as [arrays of] numbers, POINT, LONGPOINT, SINGLEPOINT or DOUBLEPOINT and are returned as DOUIBLPOINT .

Exceptions

The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.