VS:CreateImgFromSymbol

From Vectorworks Developer
Jump to: navigation, search

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

Description

FUNCTION CreateImgFromSymbol(
symbolName  :STRING;
symbolHeight  :INTEGER;
symbolWidth  :INTEGER;
symbolMargin  :INTEGER;
renderMode  :INTEGER;
view  :INTEGER) : HANDLE;
def vs.CreateImgFromSymbol(symbolName, symbolHeight, symbolWidth, symbolMargin, renderMode, view):
    return HANDLE

Parameters

symbolName STRING The name of the symbol to display.
symbolHeight INTEGER The height of the symbol to display.
symbolWidth INTEGER The width of the symbol to display.
symbolMargin INTEGER The margin of the symbol to display.
renderMode INTEGER The render mode in which to display the symbol.
view INTEGER The standard view in which to display the symbol.

Return Value

Returns the handle to the newly create image resource if successful; nil otherwise.

Version

Availability: from Vectorworks 2018
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox