IMcRegionsGetEllipse Method
|
|
Get parameters for an elliptical feature.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxSub GetEllipse (
lIndex As Integer,
<OutAttribute> ByRef Cx As Double,
<OutAttribute> ByRef Cy As Double,
<OutAttribute> ByRef MajAx As Double,
<OutAttribute> ByRef MinAx As Double,
<OutAttribute> ByRef MajAngle As Double
)
Parameters
- lIndex
- Type: SystemInt32
Index of subregion to report ellipse parameters for. - Cx
- Type: SystemDouble
x-coordinate of the center of the ellipse - Cy
- Type: SystemDouble
y-coordinate of the center of the ellipse - MajAx
- Type: SystemDouble
length of the major axis (pixels) - MinAx
- Type: SystemDouble
length of the minor axis (pixels) - MajAngle
- Type: SystemDouble
orientation of the major axis in degrees counterclockwise
from the horizontal. The value will be from zero to 360.
RemarksThe Type property for the lIndex feature must have the mcftEllipseAny
bit set in its Type or an error will result. Note that features of Type
mcftCircle may have nonzero MajAngle values: in this case, the angle specifies
the angle at which any marking radial or diameter line is to be drawn on a
linked McGraphObjCircle.
See Also