RgnMarkingMode property (Main Control)
Builder Syntax |
TRgnMarkingMode RgnMarkingMode |
Delphi Syntax |
RgnMarkingMode: TRgnMarkingMode |
Overview |
Refer to Creating and Using a Bitmap Region. |
Remarks
Enables automatic creation of a bitmap region, based on MouseDown, MouseMove, and MouseUp events.
This method supports creation of a rectangle, rounded rectangle, ellipse, or freehand region. It automatically handles scaling differences between the displayed image and the bitmap. On the MouseDown event, it begins outlining where the region will appear on the screen. It updates the outline on each MouseMove event. Then, on the MouseUp event, it deletes the displayed outline and creates the bitmap region. To make an outline of the region visible at that point, you must set the RgnFrameType property.
Value |
Meaning |
mmNone |
Disable automatic creation of a bitmap region. |
mmRectangle |
Enable creation of a rectangular region. |
mmRoundRect |
Enable creation of a rounded rectangular region. |
mmEllipse |
Enable creation of an elliptical region. |
mmFreehand |
Enable creation of a freehand region, which is actually a polygonal region, with one vertex for each MouseMove event. |
See Also
Elements: |
|
Topics: |