beautypg.com

Modelorgautocenter property – Epson 5 User Manual

Page 93

background image

ModelOrgAutoCenter

Property

ModelOrgAutoCenter Property

Applies To

Vision Objects: Correlation, Geometric

Description

A model has a fixed reference point by which we describe its location in an image. This point is referred to
as the model's origin. The ModelOrgAutoCenter property causes the model origin to be placed at the
center of the model window automatically.

Usage

VGet Sequence.Object.ModelOrgAutoCenter, var

VSet Sequence.Object.ModelOrgAutoCenter, value

Sequence Name of a sequence or string variable containing a sequence name.

Object

Name of an object or string variable containing an object name. The object must exist in the
specified sequence.

var

Boolean variable that will contain the value of the property.

value

Integer expression for the new value of the property.

Values

False

Do not cause the model origin to be automatically positioned

True

Automatically position the model origin at the center of the model window

Default: True

Remarks

The model origin may lie anywhere within the region defined by the model window. The origin's
coordinates define the model origin relative to the model window's upper left corner, that is, relative to the
location of element [0][0] of the model window that defines the model.

The ModelOrgAutoCenter property causes the model origin to be positioned automatically in the center of
the model window whenever the model window is moved or resized.

If the ModelOrgAutoCenter property is set to True, then the ModelOrgX and ModelOrgY Properties cannot
be used to reposition the model origin.

)

NOTE

See Also

Anatomy of a Vision Object, Correlation Object, Geometric Object, ModelOrgX Property, ModelOrgY
Property, Object Tab

Vision Guide 5.0 Reference (Ver.5.3) Rev.1

79