What is Guides Distance?
Guides Distance is a macro that displays the distance between two selected parallel guidelines. This allows a pair of guidelines to be used as a measuring tool.
The units used for the displayed distance can be controlled by the user. It can automatically follow the units currently in use for the horizontal rulers, or it can be set to use specific units.
The user can set the number of decimal places used when displaying the distance, and can also set whether trailing zeros are shown.
The macro can also be used to copy the displayed value to the Clipboard.
See Guides Distance in use:
Using the macro.
The macro is a userform with a single textbox. When two parallel guidelines are selected, the textbox displays the distance between them.
Right-clicking on the textbox brings up a menu. A submenu allows one to specify the number of decimal places used when displaying the value.
Another submenu allows one to specify the units used when displaying the value.
The number of decimal places can be set (and is remembered by the macro) independently for each unit.
The right-click menu also provides a way to set whether trailing zeros are shown.
The right-click menu also provides the ability to copy the displayed value to the Clipboard.
CorelDRAW's Selection Groups.
CorelDRAW selection groups can be very useful when using this macro. Create a selection group with two guidelines, and those guidelines can then be selected with a single keystroke. You can learn more about selection groups here: Creating a selection group (Corel Discover Center).
Subs in the Macro Manager.
Guides Distance was put together in a CorelDRAW X7 environment, and has been tested in X7, X8, 2018, and 2019.
OK, where's the macro?
Guides_Distance.zip (most recently updated 2019-12-01).
That includes the .GMS file and a simple icon that can be used on a CorelDRAW Toolbar.