CwGroupObjects

Sintassi:

hGroup = CwGroupObjects()

        hGroup          (handle) Handle del nuovo gruppo

Descrizione:

Questa funzione raggruppa tutti gli oggetti presenti nel rettangolo di selezione corrente e ritorna uno handle del gruppo. Se non ci sono oggetti presenti nel rettangolo di selezione, viene ritornato un errore. Usare questa funzione è più o meno equivalente a selezionare l'opzione "Group objects" dall'interfaccia utente.

Esempio:

/* Group all objects within the current cropping rectangle. */
ah=CwGetAppHandle('output settings')
maxwidth=CwGetProperty(ah, 'output size:width')
maxheight=CwGetProperty(ah, 'output size:height')

call CwSetSelectionRectangle maxwidth/2, maxheight/2, maxwidth*2, maxheight*2
gh = CwGroupObjects()


Funzioni per NOME

Indice

Funzioni per SCOPO