MACROMEDIA DIRECTOR MX 2004-GETTING STARTED WITH DIRECTOR Manual de usuario Pagina 43

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 63
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 62 63

Comentarios a estos manuales

Sin comentarios