home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _501DAD8B479B4F36B517A584E43F4D85 < prev    next >
Text File  |  2003-03-07  |  3KB  |  192 lines

  1. Justification
  2.  
  3. Syntax
  4.  
  5. Justification(Justification As _Justification_Justification_enum)
  6.  
  7. Description
  8.  
  9. Align text on the right or left margins, on both margins (including or not including the last line), or center it between the margins.
  10.  
  11. Parameters
  12.  
  13. Justification: enumeration    Center!
  14.  
  15. DecAlign!
  16.  
  17. Full!
  18.  
  19. FullAll!
  20.  
  21. Left!
  22.  
  23. Right!
  24.  
  25. JustifyAll
  26.  
  27. Syntax
  28.  
  29. JustifyAll()
  30.  
  31. Description
  32.  
  33. Align all lines of text, including the last line of a paragraph, between the left and right margins from the current paragraph forward.
  34.  
  35. JustifyCenter
  36.  
  37. Syntax
  38.  
  39. JustifyCenter()
  40.  
  41. Description
  42.  
  43. Center all lines of text from the current paragraph forward.
  44.  
  45. JustifyFull
  46.  
  47. Syntax
  48.  
  49. JustifyFull()
  50.  
  51. Description
  52.  
  53. Align text, except the last line of each paragraph, along the left and right margins from the current paragraph forward.
  54.  
  55. JustifyLeft
  56.  
  57. Syntax
  58.  
  59. JustifyLeft()
  60.  
  61. Description
  62.  
  63. Align text at the left margin from the current paragraph forward.
  64.  
  65. JustifyRight
  66.  
  67. Syntax
  68.  
  69. JustifyRight()
  70.  
  71. Description
  72.  
  73. Align text at the right margin from the current paragraph forward.
  74.  
  75. KeepTextTogetherDlg
  76.  
  77. Syntax
  78.  
  79. KeepTextTogetherDlg()
  80.  
  81. Description
  82.  
  83. Display the Keep Text Together dialog box.
  84.  
  85. Kerning
  86.  
  87. Syntax
  88.  
  89. Kerning(State As _Kerning_State_enum)
  90.  
  91. Description
  92.  
  93. Turn Automatic Kerning on or off.
  94.  
  95. Parameters
  96.  
  97. State: enumeration    Off!
  98.  
  99. On!
  100.  
  101. KerningSpacing
  102.  
  103. Syntax
  104.  
  105. KerningSpacing([KerningSpacingValue As Integer])
  106.  
  107. Description
  108.  
  109. Move the character to the right of the insertion point a specified distance to the left or right.
  110.  
  111. Parameters
  112.  
  113. KerningSpacingValue: measurement (optional)    The distance to move the character. Negative values move left, positive values move right.
  114.  
  115. KeyboardSelect
  116.  
  117. Syntax
  118.  
  119. KeyboardSelect(Keyboard As String, [LoadedFromDefaultTemplate As _KeyboardSelect_LoadedFromDefaultTemplate_enum])
  120.  
  121. Description
  122.  
  123. Select a keyboard, such as WPWin 6.0 Keyboard or the Equation Editor Keyboard.
  124.  
  125. Parameters
  126.  
  127. Keyboard: string (optional)    The name of the keyboard you want to use.
  128.  
  129. LoadedFromDefaultTemplate: enumeration    No!
  130.  
  131. Yes!
  132.  
  133. KeyboardSelectDlg
  134.  
  135. Syntax
  136.  
  137. KeyboardSelectDlg()
  138.  
  139. Description
  140.  
  141. Display the Keyboard Preferences dialog box.
  142.  
  143. KeyType()
  144.  
  145. Syntax
  146.  
  147. KeyType([Text])
  148.  
  149. Paramater
  150.  
  151. Text - The string that you want to type.
  152.  
  153. Description
  154.  
  155. You can type the string you pass to this method in the WordPerfect document.
  156.  
  157. Example
  158.  
  159. In the following code fragment, a string variable called 'myString' is declared. This variable is populated with the string 'WordPerfect Office 2002'. The contents of 'myString' is passed ot KeyType(). The PS object references the PerfectScript class.
  160.  
  161.  
  162.  
  163. '***** Declare all variables
  164.  
  165. Dim PS as PerfectScript
  166.  
  167. Dim myString as String
  168.  
  169.  
  170.  
  171. '****** Allocate memory to the PerfectScript Object
  172.  
  173. Set PS = new PerfectScript
  174.  
  175.  
  176.  
  177. '****** Define myString
  178.  
  179. myString = "WordPerfect Office 2002"
  180.  
  181.  
  182.  
  183. '**** Type the contents of myString
  184.  
  185. PS.KeyType myString
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.