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

  1. KerningDlg
  2.  
  3. Syntax
  4.  
  5. KerningDlg()
  6.  
  7. Description
  8.  
  9. Display the Manual Kerning dialog box, which is used to expand and compress letter spacing.
  10.  
  11. KeyboardCopy
  12.  
  13. Syntax
  14.  
  15. KeyboardCopy([KeyboardName As String], [DestName As String])
  16.  
  17. Description
  18.  
  19. Copy a keyboard.
  20.  
  21. Parameters
  22.  
  23. KeyboardName: string (optional)    The name of the keyboard to copy.
  24.  
  25. DestName: string (optional)    The new name for the copy.
  26.  
  27. KeyboardCreate
  28.  
  29. Syntax
  30.  
  31. KeyboardCreate([KeyboardName As String])
  32.  
  33. Description
  34.  
  35. Create a new keyboard.
  36.  
  37. Parameters
  38.  
  39. KeyboardName: string (optional)    The name for the new keyboard.
  40.  
  41. KeyboardEdit
  42.  
  43. Syntax
  44.  
  45. KeyboardEdit([KeyboardName As String])
  46.  
  47. Description
  48.  
  49. Open the Keyboard Editor.
  50.  
  51. Parameters
  52.  
  53. KeyboardName: string (optional)    The name of the keyboard to edit.
  54.  
  55. KeyboardRename
  56.  
  57. Syntax
  58.  
  59. KeyboardRename([KeyboardName As String], [NewName As String])
  60.  
  61. Description
  62.  
  63. Rename a specified keyboard.
  64.  
  65. Parameters
  66.  
  67. KeyboardName: string (optional)    The keyboard to rename.
  68.  
  69. NewName: string (optional)    The new name for the keyboard.
  70.  
  71. KeyboardSelect
  72.  
  73. Syntax
  74.  
  75. KeyboardSelect([Keyboard As String])
  76.  
  77. Description
  78.  
  79. Specify a keyboard to use, or specify the default keyboard if the parameter is not used.
  80.  
  81. Parameters
  82.  
  83. Keyboard: string (optional)    The name of a keyboard.
  84.  
  85. KeyType
  86.  
  87. Syntax
  88.  
  89. KeyType([Text])
  90.  
  91. Parameter
  92.  
  93. Text - The string that you want to type.
  94.  
  95. Description
  96.  
  97. You can type the string you pass to this method in the slide show. This method was formally known as 'Type' in PerfectScript.
  98.  
  99. Example
  100.  
  101. In the following code fragment, a string variable called 'myString' is declared. This variable is populated with the string 'WordPerfect Office'. The contents of 'myString' is passed to KeyType(). The PS object references the PerfectScript class.
  102.  
  103.  
  104.  
  105. '***** Declare all variables
  106.  
  107. Dim PS as PerfectScript
  108.  
  109. Dim myString as String
  110.  
  111.  
  112.  
  113. '****** Allocate memory to the PerfectScript Object
  114.  
  115. Set PS = new PerfectScript
  116.  
  117.  
  118.  
  119. '****** Define myString
  120.  
  121. myString = "WordPerfect Office"
  122.  
  123.  
  124.  
  125. '****** Create Textbox to add string to
  126.  
  127. PS.AddTextBox 3000, 3000, 9000, 4000
  128.  
  129.  
  130.  
  131. '**** Type the contents of myString
  132.  
  133. PS.KeyType myString
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.