Click or drag to resize

mcRotatePreviewToolCommandFlags Enumeration

Legal values for the McRotateGridTool's IMcGraphToolServer.CommandFlags property.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcRotatePreviewToolCommandFlags
Members
  Member nameValueDescription
mcrptcfNoFlags0No flags.
mcrptcfHonorAoi1Option flag: If set and norotation rectangle has been set (see mcrptcfSetRotationRect), then the rotation rectangle will be the bounds of the Aoi and the unconstrained bounds (see mcrptcfKeepPreviewBoundsConstantSize) will be the .
mcrptcfKeepPreviewBoundsConstantSize2Option flag: If set, asthe preview image is rotated in an un-rotated rectangle that is the same size as the rotation rectangle (see mcrptcfSetRotationRect). If not set, then the the preview bounds are expanded to occupy the full rotated rectangle.
mcrptcfShowReferenceGrid4Option flag: If set, a referencegrid is shown at an angle, color and spacing set by the mcrptcfSetRotationAngleRefGrid, mcrptcfSetGridColor and mcrptcfSetGridSpacing Action Flags.
mcrptcfShowDestBoundingRect8Option flag: If set, a rectanglebounding the destination rectangle, based on the mcrptcfKeepPreviewBoundsConstantSize state, is shown at a color set by the mcrptcfSetGridColor Action Flag.
mcrptcfShowSrcRoiAtAngle16Option flag: If set, the sourceROI is shown along with the rotated preview. This ROI will be either the image Aoi, if the mcrptcfHonorAoi flag is set, or a simple box surrounding the entire preview image.
mcrptcfGetRotationRect4097Action flag: Get therotation rectangle into CommandData. Once the CommandData is gotten to retrieve the result, it is cleared.
mcrptcfGetRotationAngleOfPreview4098Action flag: Get the rotationangle of the preview image in degrees into CommandData as a double. Once the CommandData is gotten to retrieve the result, it is cleared. This is the angle that the user rotates.
mcrptcfSetRotationAngleOfPreview4099Action flag: Set the rotationangle of the preview image in degrees from CommandData cast to a double. Once the CommandData is used to set the value, it is cleared.
mcrptcfSetPreviewOpacity4100Action flag: Set the Opacity ofthe preview overlay as a percentage from 0 to 100 from CommandData cast to an integer. Once the CommandData is used to set the value, it is cleared. By default the opacity is 75%.
mcrptcfSetRotationAngleRefGrid4101Action flag: Set the rotationangle of the reference grid in degrees from CommandData cast to a double. Once the CommandData is used to set the value, it is cleared.
mcrptcfSetGridColor4102Action flag: Set the linecolor for the grid from CommandData cast to a long. Once the CommandData is used to set the value, it is cleared. By default the color is yellow.
mcrptcfSetGridSpacing4103Action flag: Set the linespacing, in pixels, for the grid from CommandData cast to a long. Once the CommandData is used to set the value, it is cleared. By default the grid spacing is 25 pixels. If necessary, the grid spacing will be reduced so that at least 4 grids are shown along each axis of the rotation rectangle.
mcrptcfSetActiveView4104Action flag: Set the activeMcView, for the grid from CommandData. If given, this is used to set the grid spacing based on the view's Magnification property when the grid is first drawn, rather than later, when the user clicks in a window.
mcrptcfSetPreviewImage4105Action flag: Set the previewMcImage from CommandData. If given, this is used to set the preview image. If not given, the preview image is the ancestor image of the McGraphOverlay on which the tool is invoked (via SelectTool). The tool cannot function without a preview image.
mcrptcfStartRotatePreview4106Action flag: On the nextmouse move (or immediately if CommandData is an McView object), initiate rotation tracking as if the left mouse button were pressed.
mcrptcfStopRotatePreview4107Action flag: Stop rotationtracking as if the left mouse button were released.
See Also