Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

geSaveIcon

geSaveIcon( 
[ w_windowId ] 
[ t_iconName ] 
[ t_fileName ] 
)
=> t / nil 

Description

Saves a cellview as a SKILL icon file.

This function creates a Dlist from w_windowId->editCellView, and stores the Dlist in t_fileName. The file contains SKILL code which recreates the Dlist when loaded. The SKILL code assigns the recreated Dlist to a symbol with t_iconName as its print name. If w_windowId is defaulted, the current window is used. If t_iconName or t_fileName is defaulted, a form is displayed allowing you to enter these values.

Arguments

w_windowId

Database ID of the window containing the cellview to be saved as an icon file.

t_iconName

Name given to the icon.

t_fileName

File in which to save the icon data.

Value Returned

t

The icon was successfully written.

nil

The icon was not written successfully.

Examples

Writes icon data derived from the edit cellview in window(2) to the file myIconFile and names the icon myIcon.

geSaveIcon( window(2) "myIcon" "myIconFile" )

Related Topics

Icon Creation and Loading Functions

geCellViewToDlist

geLoadIcon


Return to top
 ⠀
X