Click or drag to resize

IMcImageSetSourceSetPhysicalLocation Method

Set the physical location of the source in the set's X/Y coordinate space.

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Sub SetPhysicalLocation ( 
	PosX As Double,
	PosY As Double,
	Optional ValidateWhere As mcValidWhere = mcValidWhere.mcvplValidInFrameAndSource
)

Parameters

PosX
Type: SystemDouble
PosY
Type: SystemDouble
ValidateWhere (Optional)
Type: MediaCy.IQL.SetsmcValidWhere
Remarks
The coordinates of the physical location of this source within image set's X,Y coordinate space are double-precision values given in units of the McImageSet.SpatialCalibration if that has been assigned or in pixels otherwise. SetPhysicalLocation can be used to set a "local" physical location and/or to change the physical location stored in the Frame.XPosition/YPosition propertiesW. hich physical location is being set is controlled by the ValidateWhere argument; by default, both the local and Frame physical X,Y location is set.
See Also