VP Get stylesheets
VP Get stylesheets ( vpAreaName : Text { ; sheet : Integer } ) : Collection
| Parâmetro | Tipo | Descrição | ||
|---|---|---|---|---|
| vpAreaName | Text | -> | Nome de objeto formulário área 4D View Pro | |
| sheet | Integer | -> | Âmbito alvo (padrão = folha atual) | |
| Resultados | Collection | <- | Coleção de objectos de folhas de estilo | 
Descrição
O comando VP Get stylesheets  retorna a coleção de objetos de folha de estilo definidos da folha.
Em vpAreaName, passe o nome da propriedade da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro.
You can define where to get the style sheets in the optional sheet parameter using the sheet index (counting begins at 0) or with the following constants:
- vk current sheet
- vk workbook
Exemplo
O código abaixo retorna a coleção de todos os objetos de estilo na folha atual:
$styles:=VP Get stylesheets("ViewProArea")
Nesse caso, a planilha atual usa dois objetos estilo:
[
   {
     backColor:green,
     borderLeft:{color:green,style:10}, 
     borderTop:{color:green,style:10}, 
     borderRight:{color:green,style:10}, 
     borderBottom:{color:green,style:10}, 
     name:GreenDashDotStyle
   },
   {
     backColor:red,
     textIndent:10,
     name:RedIndent
   }
]