CREATE CIRCULAR MEASUREMENT OBJECT WITH HOLE . . .
The IPX FILE attached to this QUESTION will create an IMAGE-PRO IMAGE with TWO CIRCULAR MEASUREMENTS / FEATURES as illustrated here.
I would like to alter the CODE in the IPX FILE so that the SMALLER CIRCULAR MEASUREMENT / FEATURE is a HOLE in the LARGER CIRCULAR MEASUREMENT FEATURE.
This is illustrated here by measuring this BRIGHT RING.
These images illustrate that in the first image, the LARGE CIRCLE is about 100,000 SQ PIX in AREA and the SMALL CIRCLE is approximately 12,000 SQ PIX. The RING is approximately 100,000 - 12,000 = 88,000 SQ PIX in AREA.
What change needs to be made to the CODE
With Measure.MeasurementsCommands.Add(NewMacro) .MeasurementType = McMeasurements.enumMMSTypes.mmtsCircle .Points = New System.Collections.Generic.List(Of System.Drawing.PointF) .Points.Add(New System.Drawing.PointF(239.4515F,237.3418F)) .Points.Add(New System.Drawing.PointF(124.5977F,28.30075F)) .FeatureName = "C2" .SnapFeature = False .Run(image1, meas2) End With
so it will create a CIRCULAR HOLE and the resulting image will have one RING with an AREA of approximately 88,000 SQ PIX?
Thanks in advance.