[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  xPadL( cText, nPixels, cChar )-> <cNewText>  // Left fill
  xPadR( cText, nPixels, cChar )-> <cNewText>  // Right fill
  xPadC( cText, nPixels, cChar )-> <cNewText>  // Center fill
------------------------------------------------------------------------------


 PARAMETER:

  <cText>    Is the text whose character length is to be adjusted

  <nPixels>  Is the total length in pixels

  <cChar>    Is an optional character used to fill up <cText>. By
             default, this character is SPACE 


 RETURNS:

  <cNewText> is a new string whose left/right/both side have been padded
  with extra <cChar> characters to reach the<nPixels> size.


 DESCRIPTION:

  This functions left fill, center fill or right fill a string up to a
  certain pixel length. They work just like clippers PADL/PADR/PADC
  functions, but unlike them they are Pixel based.
  

 SOURCE:  

  SOURCE\FUNCTION\XPAD.PRG




This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson