VS:AddButtonMode

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Adds an image button to the mode bar for a tool. Replaces vstAddButtonMode.

PROCEDURE AddButtonMode(
imageSpecifier :DYNARRAY[] of CHAR);
def vs.AddButtonMode(imageSpecifier):
    return None

Parameters

imageSpecifier DYNARRAY[] of CHAR The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile".

Version

Availability: from Vectorworks 2012