MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual do Utilizador Página 43

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 63
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 42
The quick brown fox
jumped over the lazy
dog."
HardCenterText(sourceString,charsPerLine) - where sourceString is the string to operate on and
charsPerLine is the maximum number of characters per line. Returns a copy of the source string
reformatted or "" if there was an error. Breaks any line longer than the specified length limit with
RETURN. Centers text shorter than the specified line length by padding it on the left with spaces.
Example:
set ruler = RETURN & "123456789012345678901234567890" & RETURN
set source = "The quick brown fox jumped over the lazy dog."
set wrapped = HardCenterText(source,30)
put ruler & wrapped
-- "
123456789012345678901234567890
The quick brown fox jumped
over the lazy dog."
HardAlignTextRight(sourceString,charsPerLine) - where sourceString is the string to operate on
and charsPerLine is the maximum number of characters per line. Returns a copy of the source
string reformatted or "" if there was an error. Breaks any line longer than the specified length
limit with RETURN. Aligns text shorter than the specified line length to the right margin by
padding it on the left with spaces. Not currently supported under Mac OSX.
Example:
set ruler = RETURN & "123456789012345678901234567890" & RETURN
set source = "The quick brown fox jumped over the lazy dog."
Online Help
43
Vista de página 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 62 63

Comentários a estes Manuais

Sem comentários