How to acquire current ROI angle
How do I programmatically determine an ROIs angle after the operator as positioned and rotated the ROI?
0
Best Answer
-
Rod, here is some sample code, assuming the image contains at least one rectangular ROI.
Sub PrintAngle Dim bounds Dim angle As Double ThisApplication.ActiveImage.Aoi.GetRotatableBox(0,bounds,angle) Debug.Print(angle) End Sub
0
Answers