Saltar para o conteúdo principal
Versão: 20 R6 BETA

VP Get spans

VP Get spans ( rangeObj : Object ) : Object

ParâmetroTipoDescrição
rangeObjObject->Objeto intervalo
ResultadosObject<-Objeto de células fundidas no intervalo definido

Descrição

O comando VP Get spans recupera os intervalos de células no rangeObj designado.

Em rangeObj, passe um intervalo de células fusionadas que queira recuperar. If rangeObj does not contain a cell span, an empty range is returned.

Exemplo

Se quiser centrar o texto das células fusionadas neste documento:

// Search for all cell spans 
$range:=VP Get spans(VP All("ViewProArea"))

//center text
$style:=New object("vAlign";vk vertical align center;"hAlign";vk horizontal align center)
VP SET CELL STYLE($range;$style)

Veja também

VP ADD SPAN
VP REMOVE SPAN