Technical Reference > Graphics Builder Automation Interface > Options Functions

Options Functions

These relate to the options found under the Graphics Builder's Tools menu. They do not throw an exception in Visual Basic.

OptionDisplayPropertiesOnNew

Simulates the option available on the Graphics Builder Tools menu that automatically shows the properties for a new object when inserted. You can use this function to set this option, or you can retrieve its current setting.

OptionSnapToGrid

Simulates the option available on the Graphics Builder Tools menu that automatically snaps objects to a grid. You can use this function to set this option, or you can retrieve its current setting.

OptionSnapToGuidelines

Simulates the option available on the Graphics Builder Tools menu that automatically snaps objects to guidelines. You can use this function to set this option, or you can retrieve its current setting.

For details and a VB example on handling return and error values, see Automation Error Handling.