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

  1. BackTab
  2.  
  3. Syntax
  4.  
  5. BackTab()
  6.  
  7. Description
  8.  
  9. Insert a [Hd Back Tab] code at the insertion point. This code will move the current line of text left one tab from the insertion point.
  10.  
  11. Backup
  12.  
  13. Syntax
  14.  
  15. Backup([State As _Backup_State_enum]) As Boolean
  16.  
  17. Description
  18.  
  19. Turn Timed Document Backup on or off and return the current state.
  20.  
  21. Return Value
  22.  
  23. Returns True if Timed Document Backup is on, False if not. If the State parameter is omitted, its current value is returned. If it is included, the current value is returned, then the new value is set.
  24.  
  25. Parameters
  26.  
  27. State: enumeration (optional)    Off!
  28.  
  29. On!
  30.  
  31. BackupMinutes
  32.  
  33. Syntax
  34.  
  35. BackupMinutes(Minutes As Integer)
  36.  
  37. Description
  38.  
  39. Specify the number of minutes between timed backups.
  40.  
  41. Parameters
  42.  
  43. Minutes: numeric    Number of minutes between timed backups.
  44.  
  45. BackupOriginalDoc
  46.  
  47. Syntax
  48.  
  49. BackupOriginalDoc(State As _BackupOriginalDoc_State_enum)
  50.  
  51. Description
  52.  
  53. Turn Original Document Backup on or off.
  54.  
  55. Parameters
  56.  
  57. State: enumeration    Off!
  58.  
  59. On!
  60.  
  61. BarcodeDlg
  62.  
  63. Syntax
  64.  
  65. BarcodeDlg()
  66.  
  67. Description
  68.  
  69. Display the POSTNET Barcode dialog box.
  70.  
  71. BarcodePOSTNET
  72.  
  73. Syntax
  74.  
  75. BarcodePOSTNET(Zip As String, [State As _BarcodePOSTNET_State_enum])
  76.  
  77. Description
  78.  
  79. Specify a ZIP Code or merge field containing a ZIP Code.
  80.  
  81. Parameters
  82.  
  83. Zip: string    A five, nine, or eleven-digit ZIP Code. If the ZIP Code is in a merge field, the parameter can be a string that specifies the field.
  84.  
  85. State: enumeration (optional)    Enable a merge field to provide a ZIP Code. Required only when a merge field is specified in the ZIP parameter.
  86.  
  87. MergeFieldAllowed!
  88.  
  89. BaselinePlacement
  90.  
  91. Syntax
  92.  
  93. BaselinePlacement(State As _BaselinePlacement_State_enum)
  94.  
  95. Description
  96.  
  97. Turn the Baseline placement for typesetting option on or off.
  98.  
  99. Parameters
  100.  
  101. State: enumeration    Off!
  102.  
  103. On!
  104.  
  105. Binding
  106.  
  107. Syntax
  108.  
  109. Binding(Edge As _Binding_Edge_enum, Offset As Integer)
  110.  
  111. Description
  112.  
  113. Specify a binding offset for a specified paper edge. Use this method to specify two-sided document settings. This method inserts a [Binding Width] code at the beginning of the current page.
  114.  
  115. Parameters
  116.  
  117. Edge: enumeration    BottomEdge!
  118.  
  119. LeftEdge!
  120.  
  121. RightEdge!
  122.  
  123. TopEdge!
  124.  
  125. Offset: measurement    Amount of binding offset.
  126.  
  127. BindingOptionsDlg
  128.  
  129. Syntax
  130.  
  131. BindingOptionsDlg()
  132.  
  133. Description
  134.  
  135. Display the Print dialog box with the Two-Sided Printing tab active.
  136.  
  137. BlockProtect
  138.  
  139. Syntax
  140.  
  141. BlockProtect([State As _BlockProtect_State_enum]) As Boolean
  142.  
  143. Description
  144.  
  145. Turn Block Protect on or off.
  146.  
  147. Parameters
  148.  
  149. State: enumeration    Off!
  150.  
  151. On!
  152.  
  153. BlockProtectToggle
  154.  
  155. Syntax
  156.  
  157. BlockProtectToggle()
  158.  
  159. Description
  160.  
  161. Toggle Block Protect on or off. You must select objects or text in order to block protect them.
  162.  
  163. BoldKey
  164.  
  165. Syntax
  166.  
  167. BoldKey()
  168.  
  169. Description
  170.  
  171. Toggle Bold on or off at the insertion point.
  172.  
  173. BookmarkBlock
  174.  
  175. Syntax
  176.  
  177. BookmarkBlock([Name As String])
  178.  
  179. Description
  180.  
  181. Find and select a specified bookmark. If the type of the specified bookmark is not selected, the insertion point is moved to the bookmark and select mode is activated, but nothing is selected.
  182.  
  183. Parameters
  184.  
  185. Name: string (optional)    
  186.  
  187. BookmarkCreate
  188.  
  189. Syntax
  190.  
  191. BookmarkCreate(Name As String, [Selected As _BookmarkCreate_Selected_enum])
  192.  
  193. Description
  194.  
  195. Create a bookmark.
  196.  
  197. Parameters
  198.  
  199. Name: string    
  200.  
  201. Selected: enumeration (optional)    No!
  202.  
  203. Yes!
  204.  
  205. BookmarkDelete
  206.  
  207. Syntax
  208.  
  209. BookmarkDelete([Name As String])
  210.  
  211. Description
  212.  
  213. Delete a specified bookmark.
  214.  
  215. Parameters
  216.  
  217. Name: string (optional)    
  218.  
  219. BookmarkDlg
  220.  
  221. Syntax
  222.  
  223. BookmarkDlg()
  224.  
  225. Description
  226.  
  227. Display the Bookmark dialog box.
  228.  
  229. BookmarkFind
  230.  
  231. Syntax
  232.  
  233. BookmarkFind([Name As String])
  234.  
  235. Description
  236.  
  237. Find a specified bookmark.
  238.  
  239. Parameters
  240.  
  241. Name: string (optional)    
  242.  
  243. BookmarkMove
  244.  
  245. Syntax
  246.  
  247. BookmarkMove([Name As String])
  248.  
  249. Description
  250.  
  251. Move a bookmark to the insertion point.
  252.  
  253. Parameters
  254.  
  255. Name: string (optional)    
  256.  
  257. BookmarkRename
  258.  
  259. Syntax
  260.  
  261. BookmarkRename(OldName As String, NewName As String)
  262.  
  263. Description
  264.  
  265. Rename a bookmark.
  266.  
  267. Parameters
  268.  
  269. OldName: string    
  270.  
  271.  NewName: string    
  272.  
  273. BorderBottomLine
  274.  
  275. Syntax
  276.  
  277. BorderStyleCopy(Style, [FromLibrary As _BorderStyleCopy_FromLibrary_enum], [ToLibrary As _BorderStyleCopy_ToLibrary_enum], [DestName As String])
  278.  
  279. Description
  280.  
  281. Specify the style of a bottom border line. Precede with BorderStyleCreate() or BorderStyleEdit(), and end with BorderStyleEnd(). You must pass the numeric value which corresponds to the style.
  282.  
  283. Parameters
  284.  
  285. Style: any    Use a string for user-defined styles.
  286.  
  287. ButtonBottomRightLine!
  288.  
  289. ButtonTopLeftLine!
  290.  
  291. DashedLine!
  292.  
  293. DottedLine!
  294.  
  295. DoubleLine!
  296.  
  297. ExtraThickLine!
  298.  
  299. HeavyDoubleLine!
  300.  
  301. HeavySingleLine!
  302.  
  303. NoLine!
  304.  
  305. SingleLine!
  306.  
  307. TableDefaultLine!
  308.  
  309. ThickLine!
  310.  
  311. ThickThinLine!
  312.  
  313. ThinThickLine!    
  314.  
  315.  
  316.  
  317. 9
  318.  
  319. 8
  320.  
  321. 2
  322.  
  323. 3
  324.  
  325. 1
  326.  
  327. 5
  328.  
  329. 11
  330.  
  331. 10
  332.  
  333. 127
  334.  
  335. 0
  336.  
  337. 126
  338.  
  339. 4
  340.  
  341. 7
  342.  
  343. 6
  344.  
  345. Example
  346.  
  347. In the following example, a text box is created. All sides of the border have the 'HeavyDoubleLine' style. The PS object references the PerfectScript class.
  348.  
  349.  
  350.  
  351. PS.BoxCreate 2
  352.  
  353. '***** Amend the border
  354.  
  355. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  356.  
  357. PS.BorderBottomLine 11
  358.  
  359. PS.BorderTopLine 11
  360.  
  361. PS.BorderRightLine 11
  362.  
  363. PS.BorderLeftLine 11
  364.  
  365.  
  366.  
  367. PS.BorderStyleEnd Save_BorderStyleEnd_State
  368.  
  369. PS.BoxEnd Save_BoxEnd_State
  370.  
  371. BorderColor
  372.  
  373. Syntax
  374.  
  375. BorderColor([ColorName As String], [Red As Integer], [Green As Integer], [Blue As Integer], [Shade As Integer])
  376.  
  377. Description
  378.  
  379. Specify the color of a graphics box, paragraph, page, or column border. Empty parameters use current program settings. Precede with BorderStyleCreate() or BorderStyleEdit() and BorderUseBorderColor(), and end with BorderStyleEnd(). The values of a selected color are displayed in the Define Color Printing Palette dialog box.
  380.  
  381. Parameters
  382.  
  383. ColorName: string (optional)    This parameter has been left in for backward compatibility with previous versions of WordPerfect. To specify a color in WordPerfect 8, use the Red, Green, and Blue parameters.
  384.  
  385. Red: numeric (optional)    Value: 0-255.
  386.  
  387. Green: numeric (optional)    Value: 0-255.
  388.  
  389. Blue: numeric (optional)    Value: 0-255.
  390.  
  391. Shade: numeric (optional)    Percent: 0-100.
  392.  
  393. Example
  394.  
  395. In the following example, a text box is created. All sides of the border have the 'HeavyDoubleLine' style. The color of the border is set to 'Red'. The PS object references the PerfectScript class.
  396.  
  397.  
  398.  
  399. PS.BoxCreate 2
  400.  
  401. '***** Amend the border
  402.  
  403. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  404.  
  405. PS.BorderBottomLine 11
  406.  
  407. PS.BorderTopLine 11
  408.  
  409. PS.BorderRightLine 11
  410.  
  411. PS.BorderLeftLine 11
  412.  
  413. '****** Set the color the border
  414.  
  415. PS.BorderUseBorderColor Yes_BorderUseBorderColor_State
  416.  
  417. PS.BorderColor "Red", 255, 0, 0, 50
  418.  
  419.  
  420.  
  421. PS.BorderStyleEnd Save_BorderStyleEnd_State
  422.  
  423. PS.BoxEnd Save_BoxEnd_State
  424.  
  425. BorderCornerRadius
  426.  
  427. Syntax
  428.  
  429. BorderCornerRadius(Radius As Integer)
  430.  
  431. Description
  432.  
  433. Specify the curve of border corners.
  434.  
  435. Parameters
  436.  
  437. Radius: measurement    Higher measurements produce more rounded corners.
  438.  
  439. BorderDropShadow
  440.  
  441. Syntax
  442.  
  443. Sub BorderDropShadow([Location As _BorderDropShadow_Location_enum], [Size As Integer], [ColorName As String], [Red As Integer], [Green As Integer], [Blue As Integer], [Shade As Integer], [VerticalSize As Integer])
  444.  
  445. Description
  446.  
  447. Specify the location, size, and color of a border shadow. The values of a selected color are displayed in the Define Color Printing Palette dialog box.
  448.  
  449. Parameters
  450.  
  451. Location: enumeration (optional)    NoShadow!
  452.  
  453. UpperLeft!
  454.  
  455. LowerLeft!
  456.  
  457. LowerRight!
  458.  
  459. UpperRight!
  460.  
  461. Size: measurement (optional)    Default: .125"
  462.  
  463. ColorName: string (optional)    This parameter has been left in for backward compatibility with previous versions of WordPerfect. To specify a color in WordPerfect 10, use the Red, Green, and Blue parameters.
  464.  
  465. Red: numeric (optional)    Value: 0-255.
  466.  
  467. Green: numeric (optional)    Value: 0-255.
  468.  
  469. Blue: numeric (optional)    Value: 0-255.
  470.  
  471. Shade: numeric (optional)    Percent: 0-100.
  472.  
  473. VerticalSize: numeric (optional)    The vertical size
  474.  
  475. BorderInsideSpacing
  476.  
  477. Syntax
  478.  
  479. BorderInsideSpacing([Bottom As Integer], [Left As Integer], [Right As Integer], [Top As Integer])
  480.  
  481. Description
  482.  
  483. Specify the inside border spacing. Not available for page borders. Precede with BorderStyleCreate() or BorderStyleEdit() and follow with BorderStyleEnd().
  484.  
  485. Parameters
  486.  
  487. Bottom: measurement (optional)    Specify spacing between the bottom of the text and border.
  488.  
  489. Left: measurement (optional)    Specify spacing between the left side of the text and the border.
  490.  
  491. Right: measurement (optional)    Specify spacing between the right side of the text and the border.
  492.  
  493. Top: measurement (optional)    Specify the spacing between the top of the text and the border.
  494.  
  495. BorderLeftLine
  496.  
  497. Syntax
  498.  
  499. BorderLeftLine(Style)
  500.  
  501. Description
  502.  
  503. Specify the left line style of a border. You must pass the numeric value that corresponds to the style.
  504.  
  505. Parameters
  506.  
  507. Style: any    Use a string for user-defined styles.
  508.  
  509. ButtonBottomRightLine!
  510.  
  511. ButtonTopLeftLine!
  512.  
  513. DashedLine!
  514.  
  515. DottedLine!
  516.  
  517. DoubleLine!
  518.  
  519. ExtraThickLine!
  520.  
  521. HeavyDoubleLine!
  522.  
  523. HeavySingleLine!
  524.  
  525. NoLine!
  526.  
  527. SingleLine!
  528.  
  529. TableDefaultLine!
  530.  
  531. ThickLine!
  532.  
  533. ThickThinLine!
  534.  
  535. ThinThickLine!    
  536.  
  537.  
  538.  
  539. 9
  540.  
  541. 8
  542.  
  543. 2
  544.  
  545. 3
  546.  
  547. 1
  548.  
  549. 5
  550.  
  551. 11
  552.  
  553. 10
  554.  
  555. 127
  556.  
  557. 0
  558.  
  559. 126
  560.  
  561. 4
  562.  
  563. 7
  564.  
  565. 6
  566.  
  567.  
  568.  
  569. Example
  570.  
  571. In the following example, a text box is created. All sides of the border have the 'HeavyDoubleLine' style. The PS object references the PerfectScript class.
  572.  
  573.  
  574.  
  575. PS.BoxCreate 2
  576.  
  577. '***** Amend the border
  578.  
  579. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  580.  
  581. PS.BorderBottomLine 11
  582.  
  583. PS.BorderTopLine 11
  584.  
  585. PS.BorderRightLine 11
  586.  
  587. PS.BorderLeftLine 11
  588.  
  589.  
  590.  
  591. PS.BorderStyleEnd Save_BorderStyleEnd_State
  592.  
  593. PS.BoxEnd Save_BoxEnd_State
  594.  
  595. BorderOutsideSpacing
  596.  
  597. Syntax
  598.  
  599. BorderOutsideSpacing(Left As Integer, Right As Integer, Top As Integer, Bottom As Integer)
  600.  
  601. Description
  602.  
  603. Specify the outside border spacing.
  604.  
  605. Parameters
  606.  
  607. Left: measurement    Specify the amount of space to the left of the border.
  608.  
  609. Right: measurement    Specify the amount of space to the right of the border.
  610.  
  611. Top: measurement    Specify the amount of space above the top of the border.
  612.  
  613. Bottom: measurement    Specify the amount of space below the bottom of the border.
  614.  
  615. BorderRightLine
  616.  
  617. Syntax
  618.  
  619. BorderRightLine(Style)
  620.  
  621. Description
  622.  
  623. Specify a right line border style.
  624.  
  625. Parameters
  626.  
  627. Style: any    Use a string for user-defined styles.
  628.  
  629. ButtonBottomRightLine!
  630.  
  631. ButtonTopLeftLine!
  632.  
  633. DashedLine!
  634.  
  635. DottedLine!
  636.  
  637. DoubleLine!
  638.  
  639. ExtraThickLine!
  640.  
  641. HeavyDoubleLine!
  642.  
  643. HeavySingleLine!
  644.  
  645. NoLine!
  646.  
  647. SingleLine!
  648.  
  649. TableDefaultLine!
  650.  
  651. ThickLine!
  652.  
  653. ThickThinLine!
  654.  
  655. ThinThickLine!    
  656.  
  657.  
  658.  
  659. 9
  660.  
  661. 8
  662.  
  663. 2
  664.  
  665. 3
  666.  
  667. 1
  668.  
  669. 5
  670.  
  671. 11
  672.  
  673. 10
  674.  
  675. 127
  676.  
  677. 0
  678.  
  679. 126
  680.  
  681. 4
  682.  
  683. 7
  684.  
  685. 6
  686.  
  687. Example
  688.  
  689. In the following example, a text box is created. All sides of the border have the 'HeavyDoubleLine' style. The PS object references the PerfectScript class.
  690.  
  691.  
  692.  
  693. PS.BoxCreate 2
  694.  
  695. '***** Amend the border
  696.  
  697. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  698.  
  699. PS.BorderBottomLine 11
  700.  
  701. PS.BorderTopLine 11
  702.  
  703. PS.BorderRightLine 11
  704.  
  705. PS.BorderLeftLine 11
  706.  
  707.  
  708.  
  709. PS.BorderStyleEnd Save_BorderStyleEnd_State
  710.  
  711. PS.BoxEnd Save_BoxEnd_State
  712.  
  713.  
  714.  
  715. BorderSeparatorLine
  716.  
  717. Syntax
  718.  
  719.  BorderSeparatorLine(Style)
  720.  
  721. Description
  722.  
  723. Specify a separator line style in a paragraph or column border. Precede with BorderStyleCreate() or BorderStyleEdit() and end with BorderStyleEnd().
  724.  
  725. Parameters
  726.  
  727. Style: any    Use a string for user-defined styles.
  728.  
  729. ButtonBottomRightLine!
  730.  
  731. ButtonTopLeftLine!
  732.  
  733. DashedLine!
  734.  
  735. DottedLine!
  736.  
  737. DoubleLine!
  738.  
  739. ExtraThickLine!
  740.  
  741. HeavyDoubleLine!
  742.  
  743. HeavySingleLine!
  744.  
  745. NoLine!
  746.  
  747. SingleLine!
  748.  
  749. TableDefaultLine!
  750.  
  751. ThickLine!
  752.  
  753. ThickThinLine!
  754.  
  755. ThinThickLine!    
  756.  
  757.  
  758.  
  759. 9
  760.  
  761. 8
  762.  
  763. 2
  764.  
  765. 3
  766.  
  767. 1
  768.  
  769. 5
  770.  
  771. 11
  772.  
  773. 10
  774.  
  775. 127
  776.  
  777. 0
  778.  
  779. 126
  780.  
  781. 4
  782.  
  783. 7
  784.  
  785. 6
  786.  
  787. BorderSetSpacing
  788.  
  789. Syntax
  790.  
  791. BorderSetSpacing(State As _BorderSetSpacing_State_enum)
  792.  
  793. Description
  794.  
  795. Turn Auto spacing on or off in the current border style. Precede with BorderStyleCreate() or BorderStyleEdit() and follow with BorderStyleEnd().
  796.  
  797. Parameters
  798.  
  799. State: enumeration    Yes! = Set border spacing on
  800.  
  801. No! = Auto border spacing on
  802.  
  803. BorderStyleCopy
  804.  
  805. Syntax
  806.  
  807. BorderStyleCopy(Style, [FromLibrary As _BorderStyleCopy_FromLibrary_enum], [ToLibrary As _BorderStyleCopy_ToLibrary_enum], [DestName As String])
  808.  
  809. Description
  810.  
  811. Copys a border style.
  812.  
  813. Parameters
  814.  
  815. Style: any    Use a string for user-defined styles.
  816.  
  817. ButtonBottomRightLine!
  818.  
  819. ButtonTopLeftLine!
  820.  
  821. DashedLine!
  822.  
  823. DottedLine!
  824.  
  825. DoubleLine!
  826.  
  827. ExtraThickLine!
  828.  
  829. HeavyDoubleLine!
  830.  
  831. HeavySingleLine!
  832.  
  833. NoLine!
  834.  
  835. SingleLine!
  836.  
  837. TableDefaultLine!
  838.  
  839. ThickLine!
  840.  
  841. ThickThinLine!
  842.  
  843. ThinThickLine!    
  844.  
  845.  
  846.  
  847. 9
  848.  
  849. 8
  850.  
  851. 2
  852.  
  853. 3
  854.  
  855. 1
  856.  
  857. 5
  858.  
  859. 11
  860.  
  861. 10
  862.  
  863. 127
  864.  
  865. 0
  866.  
  867. 126
  868.  
  869. 4
  870.  
  871. 7
  872.  
  873. 6
  874.  
  875. FromLibrary: enumeration (optional)    CurrentDocument!
  876.  
  877. PersonalLibrary!
  878.  
  879. SharedLibrary!    
  880.  
  881. ToLibrary: enumeration (optional)    CurrentDocument!
  882.  
  883. PersonalLibrary!
  884.  
  885. SharedLibrary!    
  886.  
  887. DestName: string (optional)    The new name for a style.    
  888.  
  889. BorderStyleCreate
  890.  
  891. Syntax
  892.  
  893. BorderStyleCreate(Style As String, [Library As _BorderStyleCreate_Library_enum])
  894.  
  895. Description
  896.  
  897. Create a new border style. After you have finished setting the attributes of the border, you must call BorderStyleEnd().
  898.  
  899. Parameters
  900.  
  901. Style: string    The name of the new style.
  902.  
  903. Library: enumeration (optional)    CurrentDoc!
  904.  
  905. PersonalLibrary!
  906.  
  907. SharedLibrary!
  908.  
  909. Example
  910.  
  911. In the following example, a new border style is created called 'One'. After the attributes are defined,.BorderStyleEnd() is called. The PS object references the PerfectScript class.
  912.  
  913. PS.BoxCreate 2
  914.  
  915. '***** Amend the border
  916.  
  917. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  918.  
  919. PS.BorderBottomLine 11
  920.  
  921. PS.BorderTopLine 11
  922.  
  923. PS.BorderRightLine 11
  924.  
  925. PS.BorderLeftLine 11
  926.  
  927.  
  928.  
  929. PS.BorderStyleEnd Save_BorderStyleEnd_State
  930.  
  931. PS.BoxEnd Save_BoxEnd_State
  932.  
  933. BorderStyleDelete
  934.  
  935. Syntax
  936.  
  937. BorderStyleDelete(Style, [Library As _BorderStyleDelete_Library_enum])
  938.  
  939. Description
  940.  
  941. Deletes a border style. You have to pass the numeric value of the border style.
  942.  
  943. Parameters
  944.  
  945. Style: any    Use a string for user-defined styles.
  946.  
  947. ButtonBottomRightLine!
  948.  
  949. ButtonTopLeftLine!
  950.  
  951. DashedLine!
  952.  
  953. DottedLine!
  954.  
  955. DoubleLine!
  956.  
  957. ExtraThickLine!
  958.  
  959. HeavyDoubleLine!
  960.  
  961. HeavySingleLine!
  962.  
  963. NoLine!
  964.  
  965. SingleLine!
  966.  
  967. TableDefaultLine!
  968.  
  969. ThickLine!
  970.  
  971. ThickThinLine!
  972.  
  973. ThinThickLine!    
  974.  
  975. 9
  976.  
  977. 8
  978.  
  979. 2
  980.  
  981. 3
  982.  
  983. 1
  984.  
  985. 5
  986.  
  987. 11
  988.  
  989. 10
  990.  
  991. 127
  992.  
  993. 0
  994.  
  995. 126
  996.  
  997. 4
  998.  
  999. 7
  1000.  
  1001. 6
  1002.  
  1003. Library: enumeration (optional)    CurrentDoc!
  1004.  
  1005. PersonalLibrary!
  1006.  
  1007. SharedLibrary!    
  1008.  
  1009. BorderStyleEdit
  1010.  
  1011. Syntax
  1012.  
  1013. BorderStyleEdit(Style, [Library As _BorderStyleEdit_Library_enum])
  1014.  
  1015. Description
  1016.  
  1017. Specify a border style to edit. You have to pass the numeric value that corresponds to the style After all the changes are implemented, you must call BorderStyleEnd().
  1018.  
  1019. Parameters
  1020.  
  1021. Style: any    Use a string for user-defined styles.
  1022.  
  1023. ButtonBottomRightLine!
  1024.  
  1025. ButtonTopLeftLine!
  1026.  
  1027. DashedLine!
  1028.  
  1029. DottedLine!
  1030.  
  1031. DoubleLine!
  1032.  
  1033. ExtraThickLine!
  1034.  
  1035. HeavyDoubleLine!
  1036.  
  1037. HeavySingleLine!
  1038.  
  1039. NoLine!
  1040.  
  1041. SingleLine!
  1042.  
  1043. TableDefaultLine!
  1044.  
  1045. ThickLine!
  1046.  
  1047. ThickThinLine!
  1048.  
  1049. ThinThickLine!    
  1050.  
  1051. 9
  1052.  
  1053. 8
  1054.  
  1055. 2
  1056.  
  1057. 3
  1058.  
  1059. 1
  1060.  
  1061. 5
  1062.  
  1063. 11
  1064.  
  1065. 10
  1066.  
  1067. 127
  1068.  
  1069. 0
  1070.  
  1071. 126
  1072.  
  1073. 4
  1074.  
  1075. 7
  1076.  
  1077. 6
  1078.  
  1079. Library: enumeration (optional)    CurrentDoc!
  1080.  
  1081. PersonalLibrary!
  1082.  
  1083. SharedLibrary!    
  1084.  
  1085.  
  1086.  
  1087. Example
  1088.  
  1089. In the following example, the border style 'One' is amended. After the changes are implemented,.BorderStyleEnd() is called. The PS object references the PerfectScript class.
  1090.  
  1091.  
  1092.  
  1093. PS.BoxCreate 2
  1094.  
  1095.  
  1096.  
  1097. PS.BorderStyleEdit One PersonalLibrary BorderStyleCreate Library
  1098.  
  1099. PS.BorderBottomLine 11
  1100.  
  1101. PS.BorderTopLine 11
  1102.  
  1103. PS.BorderRightLine 11
  1104.  
  1105. PS.BorderLeftLine 11
  1106.  
  1107.  
  1108.  
  1109. PS.BorderStyleEnd Save_BorderStyleEnd_State
  1110.  
  1111. PS.BoxEnd Save_BoxEnd_State
  1112.  
  1113. BorderStyleEnd
  1114.  
  1115. Syntax
  1116.  
  1117. BorderStyleEnd(State As _BorderStyleEnd_State_enum)
  1118.  
  1119. Description
  1120.  
  1121. Exit border style create or edit mode with or without saving changes. Precede this method with BorderStyleCreate() or BorderStyleEdit().
  1122.  
  1123. Parameters
  1124.  
  1125. State: enumeration    Cancel!
  1126.  
  1127. Save!
  1128.  
  1129. Example
  1130.  
  1131. In the following example, the border style 'One' is amended. After the changes are implemented,.BorderStyleEnd() is called. The PS object references the PerfectScript class.
  1132.  
  1133.  
  1134.  
  1135. PS.BoxCreate 2
  1136.  
  1137.  
  1138.  
  1139. PS.BorderStyleEdit "One" PersonalLibrary BorderStyleCreate Library
  1140.  
  1141. PS.BorderBottomLine 11
  1142.  
  1143. PS.BorderTopLine 11
  1144.  
  1145. PS.BorderRightLine 11
  1146.  
  1147. PS.BorderLeftLine 11
  1148.  
  1149.  
  1150.  
  1151. PS.BorderStyleEnd Save_BorderStyleEnd_State
  1152.  
  1153. PS.BoxEnd Save BoxEnd State
  1154.  
  1155. BorderStyleName
  1156.  
  1157. Syntax
  1158.  
  1159.  BorderStyleName(Style As String)
  1160.  
  1161. Description
  1162.  
  1163. Rename a user-defined border style. Precede with BorderStyleEdit().
  1164.  
  1165. Parameters
  1166.  
  1167. Style: string    
  1168.  
  1169. BorderStyleRetrieve
  1170.  
  1171. Syntax
  1172.  
  1173. BorderStyleRetrieve(Filename As String, FromLibrary As _BorderStyleRetrieve_FromLibrary_enum)
  1174.  
  1175. Description
  1176.  
  1177. Retrieve all border graphics styles from the specified document or template and add to the specified style list.
  1178.  
  1179. Parameters
  1180.  
  1181. Filename: string    The path and filename of a document or template containing the styles to retrieve.
  1182.  
  1183. FromLibrary: enumeration    The destination for the retrieved styles. Use CurrentDoc! to add the styles to the current document style list. Use PersonalLibrary! to add the styles to the default template style list. Use SharedLibrary! to add the styles to the additional objects template style list. If an additional objects template is not specified in Files Preferences and SharedLibrary! is used here, the method does nothing.
  1184.  
  1185. CurrentDoc!
  1186.  
  1187. PersonalLibrary!
  1188.  
  1189. SharedLibrary!
  1190.  
  1191. BorderStyleSave
  1192.  
  1193. Syntax
  1194.  
  1195. BorderStyleSave(Filename As String, Library As _BorderStyleSave_Library_enum)
  1196.  
  1197. Description
  1198.  
  1199. Save border styles to a specified library.
  1200.  
  1201. Parameters
  1202.  
  1203. Filename: string    The full path required.
  1204.  
  1205. Library: enumeration    CurrentDoc!
  1206.  
  1207. PersonalLibrary!
  1208.  
  1209. SharedLibrary!
  1210.  
  1211. BorderTopLine
  1212.  
  1213. Syntax
  1214.  
  1215. BorderTopLine(Style)
  1216.  
  1217. Description
  1218.  
  1219. Specify the top-line style of a border. Precede with BorderStyleCreate() or BorderStyleEdit() and end with BorderStyleEnd(). You must pass the numeric value that corresponds to the style.
  1220.  
  1221. Parameters
  1222.  
  1223. Style: any    Use a string for user-defined styles.
  1224.  
  1225. ButtonBottomRightLine!
  1226.  
  1227. ButtonTopLeftLine!
  1228.  
  1229. DashedLine!
  1230.  
  1231. DottedLine!
  1232.  
  1233. DoubleLine!
  1234.  
  1235. ExtraThickLine!
  1236.  
  1237. HeavyDoubleLine!
  1238.  
  1239. HeavySingleLine!
  1240.  
  1241. NoLine!
  1242.  
  1243. SingleLine!
  1244.  
  1245. TableDefaultLine!
  1246.  
  1247. ThickLine!
  1248.  
  1249. ThickThinLine!
  1250.  
  1251. ThinThickLine!    
  1252.  
  1253.  
  1254.  
  1255. 9
  1256.  
  1257. 8
  1258.  
  1259. 2
  1260.  
  1261. 3
  1262.  
  1263. 1
  1264.  
  1265. 5
  1266.  
  1267. 11
  1268.  
  1269. 10
  1270.  
  1271. 127
  1272.  
  1273. 0
  1274.  
  1275. 126
  1276.  
  1277. 4
  1278.  
  1279. 7
  1280.  
  1281. 6
  1282.  
  1283.  
  1284.  
  1285. Example
  1286.  
  1287. In the following example, a text box is created. All sides of the border have the 'HeavyDoubleLine' style. The PS object references the PerfectScript class.
  1288.  
  1289.  
  1290.  
  1291. PS.BoxCreate 2
  1292.  
  1293. '***** Amend the border
  1294.  
  1295. PS.BorderStyleCreate "One", PersonalLibrary_BorderStyleCreate_Library
  1296.  
  1297. PS.BorderBottomLine 11
  1298.  
  1299. PS.BorderTopLine 11
  1300.  
  1301. PS.BorderRightLine 11
  1302.  
  1303. PS.BorderLeftLine 11
  1304.  
  1305.  
  1306.  
  1307. PS.BorderStyleEnd Save_BorderStyleEnd_State
  1308.  
  1309. PS.BoxEnd Save_BoxEnd_State
  1310.  
  1311. BorderUseBorderColor
  1312.  
  1313. Syntax
  1314.  
  1315. BorderUseBorderColor(State As _BorderUseBorderColor_State_enum)
  1316.  
  1317. Description
  1318.  
  1319. Specify whether the current border uses the line-style color or the border color. Precede with BorderStyleCreate() or BorderStyleEdit(), follow with BorderColor(), and end with BorderStyleEnd().
  1320.  
  1321. Parameters
  1322.  
  1323. State: enumeration    No! = Use line style color
  1324.  
  1325. Yes! = Use border color
  1326.  
  1327. BoxAddText
  1328.  
  1329. Syntax
  1330.  
  1331. BoxAddText()
  1332.  
  1333. Description
  1334.  
  1335. Lets you add a text box to a shape.
  1336.  
  1337. BoxAttachTo
  1338.  
  1339. Syntax
  1340.  
  1341. BoxAttachTo(Anchor As _BoxAttachTo_Anchor_enum)
  1342.  
  1343. Description
  1344.  
  1345. Anchor a graphics box to a page, paragraph, or character. Precede with BoxCreate() or BoxEdit() and end with BoxEnd().
  1346.  
  1347. Parameters
  1348.  
  1349. Anchor: enumeration    Character!
  1350.  
  1351. Page!
  1352.  
  1353. Paragraph!
  1354.  
  1355. BoxBackwardOne
  1356.  
  1357. Syntax
  1358.  
  1359. BoxBackwardOne()
  1360.  
  1361. Description
  1362.  
  1363. Move the selected object(s) back one layer. Precede with BoxCreate() or BoxEdit().
  1364.  
  1365. BoxBorder
  1366.  
  1367. Syntax
  1368.  
  1369. BoxBorder(Style)
  1370.  
  1371. Description
  1372.  
  1373. Specify a box border style. Precede with BoxCreate() or BoxEdit() and end with BoxEnd(). You have to pass the numeric value that corresponds to the border style.
  1374.  
  1375. Parameters
  1376.  
  1377. Style: any    ButtonBorder!
  1378.  
  1379. ColumnBorderAll!
  1380.  
  1381. ColumnBorderBetween!
  1382.  
  1383. DashedBorder!
  1384.  
  1385. DottedBorder!
  1386.  
  1387. DoubleBorder!
  1388.  
  1389. ExtraThickBorder!
  1390.  
  1391. HeavyDoubleBorder!
  1392.  
  1393. HeavySingleBorder!
  1394.  
  1395. NoBorder!
  1396.  
  1397. SingleBorder!
  1398.  
  1399. SpacingOnly!
  1400.  
  1401. ThickBorder!
  1402.  
  1403. ThickThinBorder!
  1404.  
  1405. ThickTopBottomBorder!
  1406.  
  1407. ThinThickBorder!    0
  1408.  
  1409. 12
  1410.  
  1411. 11
  1412.  
  1413. 3
  1414.  
  1415. 4
  1416.  
  1417. 2
  1418.  
  1419. 6
  1420.  
  1421. 14
  1422.  
  1423. 13
  1424.  
  1425. 127
  1426.  
  1427. 1
  1428.  
  1429. 0
  1430.  
  1431. 5
  1432.  
  1433. 8
  1434.  
  1435. 9
  1436.  
  1437. 7
  1438.  
  1439.  
  1440.  
  1441. Example
  1442.  
  1443. The following example demonstrates the border of a box being set to a 'HeavySingleBorder' style. The PS object references the PerfectScript class.
  1444.  
  1445.  
  1446.  
  1447. '***** Create the Box
  1448.  
  1449. PS.BoxCreate 6
  1450.  
  1451. PS.BoxContentType Image_BoxContentType_Content
  1452.  
  1453. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  1454.  
  1455. PS.ChangeWatermarkGraphicShade 55
  1456.  
  1457. PS.BoxBorder 13
  1458.  
  1459.  
  1460.  
  1461. '***** Create the Box Caption
  1462.  
  1463. PS.BoxCaptionEdit
  1464.  
  1465. 'PS.BoxCaptionInitialStyle 35
  1466.  
  1467.  
  1468.  
  1469. PS.KeyType "Rideau Lakes"
  1470.  
  1471. PS.BoxCaptionEditEnd
  1472.  
  1473.  
  1474.  
  1475. PS.BoxUpdateDisplay
  1476.  
  1477. PS.BoxEnd Save_BoxEnd_State
  1478.  
  1479.  
  1480.  
  1481. BoxBorderDlg
  1482.  
  1483. Syntax
  1484.  
  1485. BoxBorderDlg()
  1486.  
  1487. Description
  1488.  
  1489. Display the Box Border/Fill Styles dialog box.
  1490.  
  1491. BoxCaptionEdit
  1492.  
  1493. Syntax
  1494.  
  1495. BoxCaptionEdit()
  1496.  
  1497. Description
  1498.  
  1499. Call this method to insert a caption for a Box. Follow with PerfectScript methods such as KeyType() and BoxCaptionEditEnd().
  1500.  
  1501. Example
  1502.  
  1503. In the following example, a caption is inserted for the Box created. The style of the box caption corresponds to the 'Caption' style. You have to call BoxCaptionEdit(), define the caption style, type the caption and call BoxCaptionEditEnd(). The PS object references the PerfectScript class.
  1504.  
  1505.  
  1506.  
  1507. '***** Create the Box
  1508.  
  1509. PS.BoxCreate 6
  1510.  
  1511. PS.BoxContentType Image_BoxContentType_Content
  1512.  
  1513. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  1514.  
  1515. PS.ChangeWatermarkGraphicShade 55
  1516.  
  1517. PS.BoxBorder 13
  1518.  
  1519.  
  1520.  
  1521. '***** Create the Box Caption
  1522.  
  1523. PS.BoxCaptionEdit
  1524.  
  1525. 'PS.BoxCaptionInitialStyle 35
  1526.  
  1527.  
  1528.  
  1529. PS.KeyType "Rideau Lakes"
  1530.  
  1531. PS.BoxCaptionEditEnd
  1532.  
  1533.  
  1534.  
  1535. PS.BoxUpdateDisplay
  1536.  
  1537. PS.BoxEnd Save_BoxEnd_State
  1538.  
  1539.  
  1540.  
  1541. BoxCaptionEditEnd
  1542.  
  1543. Syntax
  1544.  
  1545. BoxCaptionEditEnd()
  1546.  
  1547. Description
  1548.  
  1549. Call this method to end the process of inserting a caption for a box. Precede this method with BoxCaptionEdit() and KeyType(), which inserts the caption.
  1550.  
  1551. Example
  1552.  
  1553. In the following example, a caption is inserted for the Box created. The style of the box caption corresponds to the 'Caption' style. You have to call BoxCaptionEdit(), define the caption style, type the caption and call BoxCaptionEditEnd(). The PS object references the PerfectScript class.
  1554.  
  1555.  
  1556.  
  1557. '***** Create the Box
  1558.  
  1559. PS.BoxCreate 6
  1560.  
  1561. PS.BoxContentType Image_BoxContentType_Content
  1562.  
  1563. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  1564.  
  1565. PS.ChangeWatermarkGraphicShade 55
  1566.  
  1567. PS.BoxBorder 13
  1568.  
  1569.  
  1570.  
  1571. '***** Create the Box Caption
  1572.  
  1573. PS.BoxCaptionEdit
  1574.  
  1575.  
  1576.  
  1577. PS.KeyType "Rideau Lakes"
  1578.  
  1579. PS.BoxCaptionEditEnd
  1580.  
  1581.  
  1582.  
  1583. PS.BoxUpdateDisplay
  1584.  
  1585. PS.BoxEnd Save_BoxEnd_State
  1586.  
  1587.  
  1588.  
  1589. BoxCaptionFormatting
  1590.  
  1591. Syntax
  1592.  
  1593. BoxCaptionFormatting(SizeAuto)
  1594.  
  1595. Description
  1596.  
  1597. Specify the caption width.
  1598.  
  1599. Parameters
  1600.  
  1601. SizeAuto: any    To base the width on the current unit of measure, use a measurement expression. To base the width on a percent of the box width, use a number. To set the width automatically, use AutoWidth!.
  1602.  
  1603. BoxCaptionInitialStyle
  1604.  
  1605. Syntax
  1606.  
  1607. BoxCaptionInitialStyle(Style)
  1608.  
  1609. Description
  1610.  
  1611. Specify an initial caption style. You must pass the numeric value that corresponds to the style you want.
  1612.  
  1613. Parameters
  1614.  
  1615. Style: any    NormalStyle!
  1616.  
  1617. FootnoteNumberInDocumentStyle!
  1618.  
  1619. EndnoteNumberInDocumentStyle!
  1620.  
  1621. FigureNumberStyle!
  1622.  
  1623. TableBoxNumberStyle!
  1624.  
  1625. TextBoxNumberStyle!
  1626.  
  1627. UserBoxNumberStyle!
  1628.  
  1629. EquationNumberStyle!
  1630.  
  1631. HypertextStyle!
  1632.  
  1633. ToC1Style!
  1634.  
  1635. ToC2Style!
  1636.  
  1637. ToC3Style!
  1638.  
  1639. ToC4Style!
  1640.  
  1641. ToC5Style!
  1642.  
  1643. Index1Style!
  1644.  
  1645. Index2Style!
  1646.  
  1647. ListStyle!
  1648.  
  1649. ToAStyle!
  1650.  
  1651. DocStyle!
  1652.  
  1653. BoxTextStyle!
  1654.  
  1655. CaptionStyle!
  1656.  
  1657. FootnoteStyle!
  1658.  
  1659. EndnoteStyle!
  1660.  
  1661. CommentStyle!
  1662.  
  1663. HeaderAStyle!
  1664.  
  1665. HeaderBStyle!
  1666.  
  1667. FooterAStyle!
  1668.  
  1669. FooterBStyle!
  1670.  
  1671. WatermarkAStyle!
  1672.  
  1673. WatermarkBStyle!AddressStyle!
  1674.  
  1675. ParagraphOutlnStyle!
  1676.  
  1677. OutlineStyle!
  1678.  
  1679. LegalOutlnStyle!
  1680.  
  1681. BulletsOutlnStyle!
  1682.  
  1683. HeadingsOutlnStyle!
  1684.  
  1685. Legal_2OutlnStyle!
  1686.  
  1687. NumbersOutlnStyle!
  1688.  
  1689. Level1Style!
  1690.  
  1691. Level2Style!
  1692.  
  1693. Level3Style!
  1694.  
  1695. Level4Style!
  1696.  
  1697. Level5Style!
  1698.  
  1699. Level6Style!
  1700.  
  1701. Level7Style!
  1702.  
  1703. Level8Style!
  1704.  
  1705. Legal1Style!
  1706.  
  1707. Legal2Style!
  1708.  
  1709. Legal3Style!
  1710.  
  1711. Legal4Style!
  1712.  
  1713. Legal5Style!
  1714.  
  1715. Legal6Style!
  1716.  
  1717. Legal7Style!
  1718.  
  1719. Legal8Style!
  1720.  
  1721. Heading1Style!
  1722.  
  1723. Heading2Style!
  1724.  
  1725. Heading3Style!
  1726.  
  1727. Heading4Style!
  1728.  
  1729. Heading5Style!
  1730.  
  1731. Heading6Style!
  1732.  
  1733. Heading7Style!
  1734.  
  1735. Heading8Style!
  1736.  
  1737. MonospacedStyle!
  1738.  
  1739. CustomHTMLStyle!
  1740.  
  1741. PreformattedStyle!
  1742.  
  1743. AddressStyle!
  1744.  
  1745. QuotationsOutlnStyle!
  1746.  
  1747. DefinitionsOutlnStyle!
  1748.  
  1749. Quotation1Style!
  1750.  
  1751. Quotation2Style!
  1752.  
  1753. Quotation3Style!
  1754.  
  1755. Quotation4Style!
  1756.  
  1757. Quotation5Style!
  1758.  
  1759. Quotation6Style!
  1760.  
  1761. Quotation7Style!
  1762.  
  1763. Quotation8Style!
  1764.  
  1765. Definition1Style!
  1766.  
  1767. Definition2Style!
  1768.  
  1769. Definition3Style!
  1770.  
  1771. Definition4Style!
  1772.  
  1773. Definition5Style!
  1774.  
  1775. Definition6Style!
  1776.  
  1777. Definition7Style!
  1778.  
  1779. Definition8Style!
  1780.  
  1781. Level9Style!
  1782.  
  1783. Legal9Style!
  1784.  
  1785. Heading9Style!
  1786.  
  1787. Quotation9Style!
  1788.  
  1789. DefinitionStyle!     0
  1790.  
  1791. 16
  1792.  
  1793. 17
  1794.  
  1795. 18
  1796.  
  1797. 19
  1798.  
  1799. 20
  1800.  
  1801. 21
  1802.  
  1803. 22
  1804.  
  1805. 23
  1806.  
  1807. 24
  1808.  
  1809. 25
  1810.  
  1811. 26
  1812.  
  1813. 27
  1814.  
  1815. 28
  1816.  
  1817. 29
  1818.  
  1819. 30
  1820.  
  1821. 31
  1822.  
  1823. 32
  1824.  
  1825. 33
  1826.  
  1827. 34
  1828.  
  1829. 35
  1830.  
  1831. 36
  1832.  
  1833. 37
  1834.  
  1835. 38
  1836.  
  1837. 39
  1838.  
  1839. 40
  1840.  
  1841. 41
  1842.  
  1843. 42
  1844.  
  1845. 43
  1846.  
  1847. 44
  1848.  
  1849. 45
  1850.  
  1851. 46
  1852.  
  1853. 47
  1854.  
  1855. 48
  1856.  
  1857. 49
  1858.  
  1859. 50
  1860.  
  1861. 51
  1862.  
  1863. 52
  1864.  
  1865. 53
  1866.  
  1867. 54
  1868.  
  1869. 55
  1870.  
  1871. 56
  1872.  
  1873. 57
  1874.  
  1875. 58
  1876.  
  1877. 59
  1878.  
  1879. 60
  1880.  
  1881. 61
  1882.  
  1883. 62
  1884.  
  1885. 63
  1886.  
  1887. 64
  1888.  
  1889. 65
  1890.  
  1891. 66
  1892.  
  1893. 67
  1894.  
  1895. 68
  1896.  
  1897. 69
  1898.  
  1899. 70
  1900.  
  1901. 71
  1902.  
  1903. 72
  1904.  
  1905. 73
  1906.  
  1907. 74
  1908.  
  1909. 75
  1910.  
  1911. 76
  1912.  
  1913. 77
  1914.  
  1915. 78
  1916.  
  1917. 79
  1918.  
  1919. 80
  1920.  
  1921. 81
  1922.  
  1923. 82
  1924.  
  1925. 83
  1926.  
  1927. 84
  1928.  
  1929. 85
  1930.  
  1931. 86
  1932.  
  1933. 87
  1934.  
  1935. 88
  1936.  
  1937. 89
  1938.  
  1939. 90
  1940.  
  1941. 91
  1942.  
  1943. 92
  1944.  
  1945. 93
  1946.  
  1947. 94
  1948.  
  1949. 95
  1950.  
  1951. 96
  1952.  
  1953. 97
  1954.  
  1955. 111
  1956.  
  1957. 112
  1958.  
  1959. 113
  1960.  
  1961. 114
  1962.  
  1963. 115
  1964.  
  1965. Example
  1966.  
  1967. In the following example, a caption is inserted for the Box created. The style of the box caption corresponds to the 'Caption' style. You have to call BoxCaptionEdit(), ,define the caption style, type the caption and call BoxCaptionEditEnd(). The PS object references the PerfectScript class.
  1968.  
  1969.  
  1970.  
  1971. '***** Create the Box
  1972.  
  1973. PS.BoxCreate 6
  1974.  
  1975. PS.BoxContentType Image_BoxContentType_Content
  1976.  
  1977. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  1978.  
  1979. PS.ChangeWatermarkGraphicShade 55
  1980.  
  1981. PS.BoxBorder 13
  1982.  
  1983.  
  1984.  
  1985. '***** Create the Box Caption
  1986.  
  1987. PS.BoxCaptionEdit
  1988.  
  1989. PS.BoxCaptionInitialStyle 35
  1990.  
  1991.  
  1992.  
  1993. PS.KeyType "Rideau Lakes"
  1994.  
  1995. PS.BoxCaptionEditEnd
  1996.  
  1997.  
  1998.  
  1999. PS.BoxUpdateDisplay
  2000.  
  2001. PS.BoxEnd Save_BoxEnd_State
  2002.  
  2003. BoxCaptionNumberStyle
  2004.  
  2005. Syntax
  2006.  
  2007. (Style: any)
  2008.  
  2009. Description
  2010.  
  2011. Specify a caption numbering style. Precede with BoxCreate() or BoxEdit() and end with BoxEnd(). You must pass the numeric value that corresponds to the style.
  2012.  
  2013. Parameters
  2014.  
  2015. Style: any    NormalStyle!
  2016.  
  2017. FootnoteNumberInDocumentStyle!
  2018.  
  2019. EndnoteNumberInDocumentStyle!
  2020.  
  2021. FigureNumberStyle!
  2022.  
  2023. TableBoxNumberStyle!
  2024.  
  2025. TextBoxNumberStyle!
  2026.  
  2027. UserBoxNumberStyle!
  2028.  
  2029. EquationNumberStyle!
  2030.  
  2031. HypertextStyle!
  2032.  
  2033. ToC1Style!
  2034.  
  2035. ToC2Style!
  2036.  
  2037. ToC3Style!
  2038.  
  2039. ToC4Style!
  2040.  
  2041. ToC5Style!
  2042.  
  2043. Index1Style!
  2044.  
  2045. Index2Style!
  2046.  
  2047. ListStyle!
  2048.  
  2049. ToAStyle!
  2050.  
  2051. DocStyle!
  2052.  
  2053. BoxTextStyle!
  2054.  
  2055. CaptionStyle!
  2056.  
  2057. FootnoteStyle!
  2058.  
  2059. EndnoteStyle!
  2060.  
  2061. CommentStyle!
  2062.  
  2063. HeaderAStyle!
  2064.  
  2065. HeaderBStyle!
  2066.  
  2067. FooterAStyle!
  2068.  
  2069. FooterBStyle!
  2070.  
  2071. WatermarkAStyle!
  2072.  
  2073. WatermarkBStyle!AddressStyle!
  2074.  
  2075. ParagraphOutlnStyle!
  2076.  
  2077. OutlineStyle!
  2078.  
  2079. LegalOutlnStyle!
  2080.  
  2081. BulletsOutlnStyle!
  2082.  
  2083. HeadingsOutlnStyle!
  2084.  
  2085. Legal_2OutlnStyle!
  2086.  
  2087. NumbersOutlnStyle!
  2088.  
  2089. Level1Style!
  2090.  
  2091. Level2Style!
  2092.  
  2093. Level3Style!
  2094.  
  2095. Level4Style!
  2096.  
  2097. Level5Style!
  2098.  
  2099. Level6Style!
  2100.  
  2101. Level7Style!
  2102.  
  2103. Level8Style!
  2104.  
  2105. Legal1Style!
  2106.  
  2107. Legal2Style!
  2108.  
  2109. Legal3Style!
  2110.  
  2111. Legal4Style!
  2112.  
  2113. Legal5Style!
  2114.  
  2115. Legal6Style!
  2116.  
  2117. Legal7Style!
  2118.  
  2119. Legal8Style!
  2120.  
  2121. Heading1Style!
  2122.  
  2123. Heading2Style!
  2124.  
  2125. Heading3Style!
  2126.  
  2127. Heading4Style!
  2128.  
  2129. Heading5Style!
  2130.  
  2131. Heading6Style!
  2132.  
  2133. Heading7Style!
  2134.  
  2135. Heading8Style!
  2136.  
  2137. MonospacedStyle!
  2138.  
  2139. CustomHTMLStyle!
  2140.  
  2141. PreformattedStyle!
  2142.  
  2143. AddressStyle!
  2144.  
  2145. QuotationsOutlnStyle!
  2146.  
  2147. DefinitionsOutlnStyle!
  2148.  
  2149. Quotation1Style!
  2150.  
  2151. Quotation2Style!
  2152.  
  2153. Quotation3Style!
  2154.  
  2155. Quotation4Style!
  2156.  
  2157. Quotation5Style!
  2158.  
  2159. Quotation6Style!
  2160.  
  2161. Quotation7Style!
  2162.  
  2163. Quotation8Style!
  2164.  
  2165. Definition1Style!
  2166.  
  2167. Definition2Style!
  2168.  
  2169. Definition3Style!
  2170.  
  2171. Definition4Style!
  2172.  
  2173. Definition5Style!
  2174.  
  2175. Definition6Style!
  2176.  
  2177. Definition7Style!
  2178.  
  2179. Definition8Style!
  2180.  
  2181. Level9Style!
  2182.  
  2183. Legal9Style!
  2184.  
  2185. Heading9Style!
  2186.  
  2187. Quotation9Style!
  2188.  
  2189. DefinitionStyle!     0
  2190.  
  2191. 16
  2192.  
  2193. 17
  2194.  
  2195. 18
  2196.  
  2197. 19
  2198.  
  2199. 20
  2200.  
  2201. 21
  2202.  
  2203. 22
  2204.  
  2205. 23
  2206.  
  2207. 24
  2208.  
  2209. 25
  2210.  
  2211. 26
  2212.  
  2213. 27
  2214.  
  2215. 28
  2216.  
  2217. 29
  2218.  
  2219. 30
  2220.  
  2221. 31
  2222.  
  2223. 32
  2224.  
  2225. 33
  2226.  
  2227. 34
  2228.  
  2229. 35
  2230.  
  2231. 36
  2232.  
  2233. 37
  2234.  
  2235. 38
  2236.  
  2237. 39
  2238.  
  2239. 40
  2240.  
  2241. 41
  2242.  
  2243. 42
  2244.  
  2245. 43
  2246.  
  2247. 44
  2248.  
  2249. 45
  2250.  
  2251. 46
  2252.  
  2253. 47
  2254.  
  2255. 48
  2256.  
  2257. 49
  2258.  
  2259. 50
  2260.  
  2261. 51
  2262.  
  2263. 52
  2264.  
  2265. 53
  2266.  
  2267. 54
  2268.  
  2269. 55
  2270.  
  2271. 56
  2272.  
  2273. 57
  2274.  
  2275. 58
  2276.  
  2277. 59
  2278.  
  2279. 60
  2280.  
  2281. 61
  2282.  
  2283. 62
  2284.  
  2285. 63
  2286.  
  2287. 64
  2288.  
  2289. 65
  2290.  
  2291. 66
  2292.  
  2293. 67
  2294.  
  2295. 68
  2296.  
  2297. 69
  2298.  
  2299. 70
  2300.  
  2301. 71
  2302.  
  2303. 72
  2304.  
  2305. 73
  2306.  
  2307. 74
  2308.  
  2309. 75
  2310.  
  2311. 76
  2312.  
  2313. 77
  2314.  
  2315. 78
  2316.  
  2317. 79
  2318.  
  2319. 80
  2320.  
  2321. 81
  2322.  
  2323. 82
  2324.  
  2325. 83
  2326.  
  2327. 84
  2328.  
  2329. 85
  2330.  
  2331. 86
  2332.  
  2333. 87
  2334.  
  2335. 88
  2336.  
  2337. 89
  2338.  
  2339. 90
  2340.  
  2341. 91
  2342.  
  2343. 92
  2344.  
  2345. 93
  2346.  
  2347. 94
  2348.  
  2349. 95
  2350.  
  2351. 96
  2352.  
  2353. 97
  2354.  
  2355. 111
  2356.  
  2357. 112
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363. Example
  2364.  
  2365. In the following example, a caption is inserted for the Box created. The caption numbering style corresponds to the 'normal' style You have to call BoxCaptionEdit(), ,define the caption style, type the caption and call BoxCaptionEditEnd(). The PS object references the PerfectScript class.
  2366.  
  2367.  
  2368.  
  2369. '***** Create the Box
  2370.  
  2371. PS.BoxCreate 6
  2372.  
  2373. PS.BoxContentType Image_BoxContentType_Content
  2374.  
  2375. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  2376.  
  2377. PS.ChangeWatermarkGraphicShade 55
  2378.  
  2379. PS.BoxBorder 13
  2380.  
  2381.  
  2382.  
  2383. '***** Create the Box Caption
  2384.  
  2385. PS.BoxCaptionEdit
  2386.  
  2387. PS.BoxCaptionNumberStyle 0
  2388.  
  2389.  
  2390.  
  2391. PS.KeyType "Rideau Lakes"
  2392.  
  2393. PS.BoxCaptionEditEnd
  2394.  
  2395.  
  2396.  
  2397. PS.BoxUpdateDisplay
  2398.  
  2399. PS.BoxEnd Save_BoxEnd_State
  2400.  
  2401. BoxCaptionPosition
  2402.  
  2403. Syntax
  2404.  
  2405. Sub BoxCaptionPosition(Side As _BoxCaptionPosition_Side_enum, Border As _BoxCaptionPosition_Border_enum, [Alignment As _BoxCaptionPosition_Alignment_enum], [AlignmentOffset])
  2406.  
  2407. Description
  2408.  
  2409. Specify the caption position.
  2410.  
  2411. Parameters
  2412.  
  2413. Side: enumeration    Specify the side of the box on which the caption appears.
  2414.  
  2415. Bottom! 4
  2416.  
  2417. Left! 0
  2418.  
  2419. Right! 3
  2420.  
  2421. Top! 4
  2422.  
  2423. Border: enumeration    Specify where the caption is in relation to the border.
  2424.  
  2425. InsideBorder! 1
  2426.  
  2427. OnBorder! 2
  2428.  
  2429. OutsideBorder! 0
  2430.  
  2431. Alignment: enumeration (optional)    Specify the caption position.
  2432.  
  2433. Bottom! 4
  2434.  
  2435. Center! 2
  2436.  
  2437. Left! 0
  2438.  
  2439. Right! 3
  2440.  
  2441. Top! 4
  2442.  
  2443. AlignmentOffset: any (optional)    Specify the alignment for the caption text.
  2444.  
  2445. BoxCaptionRotation
  2446.  
  2447. Syntax
  2448.  
  2449. BoxCaptionRotation(Rotation As _BoxCaptionRotation_Rotation_enum)
  2450.  
  2451. Description
  2452.  
  2453. Rotate the captions. Precede with a methods such as BoxCreate() and BoxUpdateDisplay(), and end with BoxEnd().
  2454.  
  2455. Parameters
  2456.  
  2457. Rotation: enumeration    Degrees180!
  2458.  
  2459. Degrees270!
  2460.  
  2461. Degrees90!
  2462.  
  2463. None!
  2464.  
  2465. BoxChangeLineHeight
  2466.  
  2467. Syntax
  2468.  
  2469. BoxChangeLineHeight(State As _BoxChangeLineHeight_State_enum)
  2470.  
  2471. Description
  2472.  
  2473. Specify whether line height changes when a box is attached to a character. Default: Yes!
  2474.  
  2475. Parameters
  2476.  
  2477. State: enumeration    No!
  2478.  
  2479. Yes!
  2480.  
  2481. BoxChangeStyle
  2482.  
  2483. Syntax
  2484.  
  2485. BoxChangeStyle(BoxType)
  2486.  
  2487. Description
  2488.  
  2489. You can change the style of the box. You must pass the numeric value that corresponds to the style. After you have set the attributes of the box, you must call BoxEnd().
  2490.  
  2491. Parameters
  2492.  
  2493. BoxType: any    Enclose user-defined styles in quotation marks.
  2494.  
  2495. ButtonBox!
  2496.  
  2497. EquationBox!
  2498.  
  2499. FigureBox!
  2500.  
  2501. InlineEquationBox!
  2502.  
  2503. NoBox!
  2504.  
  2505. TableBox!
  2506.  
  2507. TextBox!
  2508.  
  2509. UserBox!
  2510.  
  2511. WatermarkImageBox!    
  2512.  
  2513. 5
  2514.  
  2515. 4
  2516.  
  2517. 0
  2518.  
  2519. 7
  2520.  
  2521. 127
  2522.  
  2523. 1
  2524.  
  2525. 2
  2526.  
  2527. 3
  2528.  
  2529. 6
  2530.  
  2531.  
  2532.  
  2533. Example
  2534.  
  2535. In the following example, the style of the box is changed to 'WatermarkImageBox', therefore the value 6 must be passed. The method BoxImageRetrive() is called which sets the watermark's image. In this case, the image is a bitmap called 'rideau1'.
  2536.  
  2537.  
  2538.  
  2539. '***** Create the Box
  2540.  
  2541. PS.BoxChangeStyle 6
  2542.  
  2543. PS.BoxContentType Image_BoxContentType_Content
  2544.  
  2545. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  2546.  
  2547. PS.ChangeWatermarkGraphicShade 55
  2548.  
  2549. PS.BoxBorder 13
  2550.  
  2551.  
  2552.  
  2553. '***** Create the Box Caption
  2554.  
  2555. PS.BoxCaptionEdit
  2556.  
  2557. PS.BoxCaptionNumberStyle 0
  2558.  
  2559.  
  2560.  
  2561. PS.KeyType "Rideau Lakes"
  2562.  
  2563. PS.BoxCaptionEditEnd
  2564.  
  2565.  
  2566.  
  2567. PS.BoxUpdateDisplay
  2568.  
  2569. PS.BoxEnd Save_BoxEnd_State
  2570.  
  2571.  
  2572.  
  2573. BoxContentEdit
  2574.  
  2575. Syntax
  2576.  
  2577. BoxContentEdit()
  2578.  
  2579. Description
  2580.  
  2581. Create and edit graphics box contents. Follow with the methods that furnish the box contents.
  2582.  
  2583. BoxContentPosition
  2584.  
  2585. Syntax
  2586.  
  2587. BoxContentPosition(Horizontal As _BoxContentPosition_Horizontal_enum, Vertical As _BoxContentPosition_Vertical_enum)
  2588.  
  2589. Description
  2590.  
  2591. You can position the box contents inside the box.
  2592.  
  2593. Parameters
  2594.  
  2595. Horizontal: enumeration    Center!
  2596.  
  2597. Left!
  2598.  
  2599. Right!
  2600.  
  2601. Vertical: enumeration    Bottom!
  2602.  
  2603. Center!
  2604.  
  2605. Top!
  2606.  
  2607. BoxContentPreserveAspectRatio
  2608.  
  2609. Syntax
  2610.  
  2611. BoxContentPreserveAspectRatio(State As _BoxContentPreserveAspectRatio_State_enum)
  2612.  
  2613. Description
  2614.  
  2615. Preserve the image width/height ratio when the box changes.
  2616.  
  2617. Parameters
  2618.  
  2619. State: enumeration    No!
  2620.  
  2621. Yes!
  2622.  
  2623. BoxContentType
  2624.  
  2625. Syntax
  2626.  
  2627. BoxContentType(Content As _BoxContentType_Content_enum)
  2628.  
  2629. Description
  2630.  
  2631. Specify the graphics box content type.
  2632.  
  2633. Parameters
  2634.  
  2635. Content: enumeration    Empty!
  2636.  
  2637. Equation!
  2638.  
  2639. External!
  2640.  
  2641. Image!
  2642.  
  2643. LinkedText!
  2644.  
  2645. Macro!
  2646.  
  2647. Presentation!
  2648.  
  2649. Text!
  2650.  
  2651. Video!
  2652.  
  2653. BoxCounter
  2654.  
  2655. Syntax
  2656.  
  2657.  BoxCounter(CounterName)
  2658.  
  2659. Description
  2660.  
  2661. Assign a new counter to the current box or box style. You must pass the numeric value that corresponds to the style.
  2662.  
  2663. Parameters
  2664.  
  2665. CounterName: any    EquationCounter!
  2666.  
  2667. FigureCounter!
  2668.  
  2669. None!
  2670.  
  2671. TableBoxCounter!
  2672.  
  2673. TextBoxCounter!
  2674.  
  2675. UserBoxCounter!    5
  2676.  
  2677. 1
  2678.  
  2679. 0
  2680.  
  2681. 2
  2682.  
  2683. 3
  2684.  
  2685. 4
  2686.  
  2687. BoxCreate
  2688.  
  2689. Syntax
  2690.  
  2691. BoxCreate(BoxType)
  2692.  
  2693. Description
  2694.  
  2695. You can use this method to create a graphic box. You have to call BoxEnd() after you have set the attributes of the box. You must pass the numeric value that corresponds to the style.
  2696.  
  2697. Parameters
  2698.  
  2699. BoxType: any    ButtonBox!
  2700.  
  2701. EquationBox!
  2702.  
  2703. FigureBox!
  2704.  
  2705. InLineEquationBox!
  2706.  
  2707. NoBox!
  2708.  
  2709. TableBox!
  2710.  
  2711. TextBox!
  2712.  
  2713. UserBox!
  2714.  
  2715. WatermarkImageBox!    5
  2716.  
  2717. 4
  2718.  
  2719. 0
  2720.  
  2721. 7
  2722.  
  2723. 127
  2724.  
  2725. 1
  2726.  
  2727. 2
  2728.  
  2729. 3
  2730.  
  2731. 6
  2732.  
  2733.  
  2734.  
  2735. Example
  2736.  
  2737. In the following example, the style of the new box is 'WatermarkImageBox', therefore the value 6 must be passed. The method BoxImageRetrive() is called which sets the watermark's image. In this case, the image is a bitmap called 'rideau1'. Afer all attributes are set, BoxEnd() is called.
  2738.  
  2739.  
  2740.  
  2741. '***** Create the Box
  2742.  
  2743. PS.BoxCreate 6
  2744.  
  2745. PS.BoxContentType Image_BoxContentType_Content
  2746.  
  2747. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  2748.  
  2749. PS.ChangeWatermarkGraphicShade 55
  2750.  
  2751. PS.BoxBorder 13
  2752.  
  2753.  
  2754.  
  2755. '***** Create the Box Caption
  2756.  
  2757. PS.BoxCaptionEdit
  2758.  
  2759. PS.BoxCaptionNumberStyle 0
  2760.  
  2761.  
  2762.  
  2763. PS.KeyType "Rideau Lakes"
  2764.  
  2765. PS.BoxCaptionEditEnd
  2766.  
  2767.  
  2768.  
  2769. PS.BoxUpdateDisplay
  2770.  
  2771. PS.BoxEnd Save_BoxEnd_State
  2772.  
  2773.  
  2774.  
  2775. BoxDelete
  2776.  
  2777. Syntax
  2778.  
  2779.  BoxDelete(BoxType As _BoxDelete_BoxType_enum, BoxNumber As Integer)
  2780.  
  2781. Delete a graphics box.
  2782.  
  2783. Parameters
  2784.  
  2785. BoxType: enumeration    ButtonBox!
  2786.  
  2787. EquationBox!
  2788.  
  2789. FigureBox!
  2790.  
  2791. InlineEquationBox!
  2792.  
  2793. NoBox!
  2794.  
  2795. TableBox!
  2796.  
  2797. TextBox!
  2798.  
  2799. UserBox!
  2800.  
  2801. WatermarkImageBox!
  2802.  
  2803. BoxNumber: numeric    The numeric value of the box.
  2804.  
  2805. BoxEdit
  2806.  
  2807. Syntax
  2808.  
  2809. BoxEdit(BoxNumber As Integer)
  2810.  
  2811. Description
  2812.  
  2813. Specify the number of a graphics box to edit.
  2814.  
  2815. Parameters
  2816.  
  2817. BoxNumber: numeric    The numeric value of the box you want to edit.
  2818.  
  2819. BoxEditByCounter
  2820.  
  2821. Syntax
  2822.  
  2823. BoxEditByCounter(CounterName, [CounterLevelNumber])
  2824.  
  2825. Description
  2826.  
  2827. Specify the counter name and number of a graphics box to edit. You must pass the numeric value that corresponds to the CounterName.
  2828.  
  2829. Parameters
  2830.  
  2831. CounterName: any    EquationCounter!
  2832.  
  2833. FigureCounter!
  2834.  
  2835. None!
  2836.  
  2837. TableBoxCounter!
  2838.  
  2839. TextBoxCounter!
  2840.  
  2841. UserBoxCounter!    5
  2842.  
  2843. 1
  2844.  
  2845. 0
  2846.  
  2847. 2
  2848.  
  2849. 3
  2850.  
  2851. 4
  2852.  
  2853. CounterLevelNumber: numeric (optional)    Repeat for each counter level.    
  2854.  
  2855. BoxEditNext
  2856.  
  2857. Syntax
  2858.  
  2859. BoxEditNext([BoxType As _BoxEditNext_BoxType_enum]
  2860.  
  2861. Description
  2862.  
  2863. Begin the editing methods for the next box or a specified box type. Follow with box-editing methods and BoxEnd().
  2864.  
  2865. Parameters
  2866.  
  2867. BoxType: enumeration (optional)    Default: box after the insertion point, regardless of type.
  2868.  
  2869. ButtonBox!
  2870.  
  2871. EquationBox!
  2872.  
  2873. FigureBox!
  2874.  
  2875. InlineEquationBox!
  2876.  
  2877. NoBox!
  2878.  
  2879. TableBox!
  2880.  
  2881. TextBox!
  2882.  
  2883. UserBox!
  2884.  
  2885. WatermarkImageBox!
  2886.  
  2887. BoxEditPrevious
  2888.  
  2889. Syntax
  2890.  
  2891. BoxEditPrevious([BoxType As _BoxEditPrevious_BoxType_enum])
  2892.  
  2893. Description
  2894.  
  2895. Begin the editing methods for the previous box or a specified box type.
  2896.  
  2897. Parameters
  2898.  
  2899. BoxType: enumeration (optional)    Default: box immediately before the insertion point, regardless of type.
  2900.  
  2901. ButtonBox!
  2902.  
  2903. EquationBox!
  2904.  
  2905. FigureBox!
  2906.  
  2907. InlineEquationBox!
  2908.  
  2909. NoBox!
  2910.  
  2911. TableBox!
  2912.  
  2913. TextBox!
  2914.  
  2915. UserBox!
  2916.  
  2917. WatermarkImageBox!
  2918.  
  2919. BoxEnd
  2920.  
  2921. Syntax
  2922.  
  2923. BoxEnd([State As _BoxEnd_State_enum], [BoxOptionsBar As _BoxEnd_BoxOptionsBar_enum])
  2924.  
  2925. Description
  2926.  
  2927. Save the editing changes to a graphics box and display or hide the Graphics Box Property Bar.
  2928.  
  2929. Parameters
  2930.  
  2931. State: enumeration (optional)    Cancel!
  2932.  
  2933. Save!
  2934.  
  2935. BoxOptionsBar: enumeration (optional)    Display or hide the Graphics Property Bar.
  2936.  
  2937. DontHide!
  2938.  
  2939. Hide!
  2940.  
  2941. Example
  2942.  
  2943. In the following example, the style of the new box is 'WatermarkImageBox', therefore the value 6 must be passed. The method BoxImageRetrive() is called which sets the watermark's image. In this case, the image is a bitmap called 'rideau1'. Afer all attributes are set, BoxEnd() is called. The PS object references the PerfectScipt class.
  2944.  
  2945.  
  2946.  
  2947. '***** Create the Box
  2948.  
  2949. PS.BoxCreate 6
  2950.  
  2951. PS.BoxContentType Image_BoxContentType_Content
  2952.  
  2953. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\rideau1.bmp"
  2954.  
  2955. PS.ChangeWatermarkGraphicShade 55
  2956.  
  2957. PS.BoxBorder 13
  2958.  
  2959.  
  2960.  
  2961. '***** Create the Box Caption
  2962.  
  2963. PS.BoxCaptionEdit
  2964.  
  2965. PS.BoxCaptionNumberStyle 0
  2966.  
  2967.  
  2968.  
  2969. PS.KeyType "Rideau Lakes"
  2970.  
  2971. PS.BoxCaptionEditEnd
  2972.  
  2973.  
  2974.  
  2975. PS.BoxUpdateDisplay
  2976.  
  2977. PS.BoxEnd Save_BoxEnd_State
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983. BoxEquationColor
  2984.  
  2985. Syntax
  2986.  
  2987. BoxEquationColor([ColorName As String], [Red As Integer], [Green As Integer], [Blue As Integer], [Shade As Integer])
  2988.  
  2989. Description
  2990.  
  2991. Specify a box equation color and shading value. Precede with BoxCreate() or BoxEdit() and end with BoxEnd().
  2992.  
  2993. Parameters
  2994.  
  2995. ColorName: string (optional)    This parameter has been left in for backward compatability with previous versions of WordPerfect. To specify a color in WordPerfect 8, use the Red, Green, and Blue parameters.
  2996.  
  2997. Red: numeric (optional)    Value: 0-255.
  2998.  
  2999. Green: numeric (optional)    Value: 0-255.
  3000.  
  3001. Blue: numeric (optional)    Value: 0-255.
  3002.  
  3003. Shade: numeric (optional)    Percent: 0-100.
  3004.  
  3005. BoxEquationDefaultFont
  3006.  
  3007. Syntax
  3008.  
  3009.  BoxEquationDefaultFont(FontSize)
  3010.  
  3011. Description
  3012.  
  3013. Specify a default font and size.
  3014.  
  3015. Parameters
  3016.  
  3017. FontSize: any    DefaultSize! - 0
  3018.  
  3019. BoxEquationFilename
  3020.  
  3021. Syntax
  3022.  
  3023. BoxEquationFilename(Filename As String)
  3024.  
  3025. Description
  3026.  
  3027. Specify the name of an equation file and designate the box contents as an equation. To retrieve an equation file, use FileOpen.
  3028.  
  3029. Parameters
  3030.  
  3031. Filename: string    The name of the equation file.
  3032.  
  3033. BoxEquationFont
  3034.  
  3035. Syntax
  3036.  
  3037. BoxEquationFont(FontName As String, [FontSize As Integer], [Family As _BoxEquationFont_Family_enum], [Attributes As _BoxEquationFont_Attributes_enum], [Weight As _BoxEquationFont_Weight_enum], [Width As _BoxEquationFont_Width_enum], [Source As _BoxEquationFont_Source_enum], [Type As _BoxEquationFont_Type_enum], [CharacterSet As _BoxEquationFont_CharacterSet_enum])
  3038.  
  3039. Description
  3040.  
  3041. Specify an equation font. Use with BoxEquationFontSize().
  3042.  
  3043. Parameters
  3044.  
  3045. FontName: string    The name of the font.
  3046.  
  3047. FontSize: measurement (optional)    The point size of the font.
  3048.  
  3049. Family: enumeration (optional)    FamilyAestheticOrnamented!
  3050.  
  3051. FamilyAlbertus!
  3052.  
  3053. FamilyBodoni!
  3054.  
  3055. FamilyBroadway!
  3056.  
  3057. FamilyBrush!
  3058.  
  3059. FamilyCenturySchoolbook!
  3060.  
  3061. FamilyComputer!
  3062.  
  3063. FamilyCourier!
  3064.  
  3065. FamilyHelvetica!
  3066.  
  3067. FamilyHobo!
  3068.  
  3069. FamilyITCBenquiat!
  3070.  
  3071. FamilyITCGaramond!
  3072.  
  3073. FamilyITCLubalinGraph!
  3074.  
  3075. FamilyITCRonda!
  3076.  
  3077. FamilyITCZapfDingbats!
  3078.  
  3079. FamilyLetterGothic!
  3080.  
  3081. FamilyMadrone!
  3082.  
  3083. FamilyMicrostyle!
  3084.  
  3085. FamilyOldEnglish!
  3086.  
  3087. FamilyOptima!
  3088.  
  3089. FamilyParkAvenue!
  3090.  
  3091. FamilyPonderosa!
  3092.  
  3093. FamilyPTBarnum!
  3094.  
  3095. FamilyRevue!
  3096.  
  3097. FamilySignetRoundhand!
  3098.  
  3099. FamilyTekton!
  3100.  
  3101. FamilyTimesRoman!
  3102.  
  3103. FamilyUncial!
  3104.  
  3105. Attributes: enumeration (optional)    FontMatchItalic!
  3106.  
  3107. FontMatchNormal!
  3108.  
  3109. FontMatchOutline!
  3110.  
  3111. FontMatchShadow!
  3112.  
  3113. FontMatchSmallCaps!
  3114.  
  3115. Weight: enumeration (optional)    WeightBlack!
  3116.  
  3117. WeightBold!
  3118.  
  3119. WeightBook!
  3120.  
  3121. WeightDemiBold!
  3122.  
  3123. WeightDemiLight!
  3124.  
  3125. WeightExtraBlack!
  3126.  
  3127. WeightExtraBold!
  3128.  
  3129. WeightExtraHeavy!
  3130.  
  3131. WeightExtraLight!
  3132.  
  3133. WeightExtraThin!
  3134.  
  3135. WeightHeavy!
  3136.  
  3137. WeightLight!
  3138.  
  3139. WeightMaximum!
  3140.  
  3141. WeightMedium!
  3142.  
  3143. WeightRegular!
  3144.  
  3145. WeightRoman!
  3146.  
  3147. WeightSemiBold!
  3148.  
  3149. WeightSemiLight!
  3150.  
  3151. WeightThin!
  3152.  
  3153. WeightUltraBlack!
  3154.  
  3155. WeightUltraHeavy!
  3156.  
  3157. WeightUltraLight!
  3158.  
  3159. WeightUltraThin!
  3160.  
  3161. WeightUnknown!
  3162.  
  3163. Width: enumeration(optional)    WidthCompressed!
  3164.  
  3165. WidthCondensed!
  3166.  
  3167. WidthDoubleWide!
  3168.  
  3169. WidthExpanded!
  3170.  
  3171. WidthExtraCondensed!
  3172.  
  3173. WidthExtraExpanded!
  3174.  
  3175. WidthNormal!
  3176.  
  3177. WidthSemiCondensed!
  3178.  
  3179. WidthSemiExpanded!
  3180.  
  3181. WidthTripleWide!
  3182.  
  3183. WidthUltraCompressed!
  3184.  
  3185. WidthUltraCondensed!
  3186.  
  3187. WidthUltraExpanded!
  3188.  
  3189. WidthUnknown!
  3190.  
  3191. Source: enumeration (optional)    DRSFile!
  3192.  
  3193. PRSFile!
  3194.  
  3195. Type: enumeration (optional)    Intellifont!
  3196.  
  3197. Speedo!
  3198.  
  3199. TrueType!
  3200.  
  3201. Type1!
  3202.  
  3203. CharacterSet: enumeration (optional)    FontMatchArabic!
  3204.  
  3205. FontMatchArabicScript!
  3206.  
  3207. FontMatchASCII!
  3208.  
  3209. FontMatchBoxDrawing!
  3210.  
  3211. FontMatchCyrillic!
  3212.  
  3213. FontMatchGreek!
  3214.  
  3215. FontMatchHebrew!
  3216.  
  3217. FontMatchIconicSymbols!
  3218.  
  3219. FontMatchJapaneseKana!
  3220.  
  3221. FontMatchMath!
  3222.  
  3223. FontMatchMathExtension!
  3224.  
  3225. FontMatchMultinational1!
  3226.  
  3227. FontMatchMultinational2!
  3228.  
  3229. FontMatchTypographicSymbols!
  3230.  
  3231. FontMatchUserDefined!
  3232.  
  3233. BoxEquationFontSize
  3234.  
  3235. Syntax
  3236.  
  3237.  BoxEquationFontSize(Size As Integer)
  3238.  
  3239. Description
  3240.  
  3241. Specify an equation font size.
  3242.  
  3243. Parameters
  3244.  
  3245. Size: measurement    The point size of the font.
  3246.  
  3247. BoxEquationRedisplay
  3248.  
  3249. Syntax
  3250.  
  3251. BoxEquationRedisplay([Zoom As Long])
  3252.  
  3253. Description
  3254.  
  3255. Enlarge or reduce an equation display.
  3256.  
  3257. Parameters
  3258.  
  3259. Zoom: numeric (optional)    Amount to reduce or enlarge equation display.
  3260.  
  3261. BoxEquationSaveAsGraphic
  3262.  
  3263. Syntax
  3264.  
  3265. BoxEquationSaveAsGraphic(Filename As String, [Format As _BoxEquationSaveAsGraphic_Format_enum])
  3266.  
  3267. Description
  3268.  
  3269. Save an equation box as a graphics file.
  3270.  
  3271. Parameters
  3272.  
  3273. Filename: string    Name for the graphics file.
  3274.  
  3275. Format: enumeration (optional)    Default: current graphics format.
  3276.  
  3277. Presentations_20!
  3278.  
  3279. WordPerfectGraphic_10!
  3280.  
  3281. WordPerfectGraphic_20!
  3282.  
  3283. BoxFill
  3284.  
  3285. Syntax
  3286.  
  3287. BoxFill(FillStyleName)
  3288.  
  3289. Description
  3290.  
  3291. Select a box fill style.
  3292.  
  3293. Parameters
  3294.  
  3295. FillStyleName: any    Fill10    0
  3296.  
  3297. Fill20    1
  3298.  
  3299. Fill30    2
  3300.  
  3301. Fill40    3
  3302.  
  3303. Fill50    4
  3304.  
  3305. Fill60    5
  3306.  
  3307. Fill70    6
  3308.  
  3309. Fill80    7
  3310.  
  3311. Fill90    8
  3312.  
  3313. Fill100    9
  3314.  
  3315. FillButton 10
  3316.  
  3317. Fill5    11
  3318.  
  3319. NoFill    127
  3320.  
  3321.     
  3322.  
  3323. BoxForwardOne
  3324.  
  3325. Syntax
  3326.  
  3327. BoxForwardOne()
  3328.  
  3329. Description
  3330.  
  3331. Move the selected object(s) forward one layer.
  3332.  
  3333. BoxHeight
  3334.  
  3335. Syntax
  3336.  
  3337. BoxHeight(Height)
  3338.  
  3339. Description
  3340.  
  3341. Specify the box height according to the height of box contents or a fixed measurement.
  3342.  
  3343. Parameters
  3344.  
  3345. Height: any    Lets you specify whether the height of the box is determined by the height of the box contents or by a minimum box height.
  3346.  
  3347. AutoHeight!
  3348.  
  3349. MinHeight!
  3350.  
  3351. BoxHorizontalAlignment
  3352.  
  3353. Syntax
  3354.  
  3355. BoxHorizontalAlignment(Alignment As _BoxHorizontalAlignment_Alignment_enum, Position As _BoxHorizontalAlignment_Position_enum, [Offset As Integer], [LeftColumn As Integer], [RightColumn As Integer])
  3356.  
  3357. Description
  3358.  
  3359. Specify the alignment of a box attached to a page or paragraph.
  3360.  
  3361. Parameters
  3362.  
  3363. Alignment: enumeration    AlignColumns!
  3364.  
  3365. AlignMargins!
  3366.  
  3367. Position: enumeration    The horizontal position after alignment to margins or columns.
  3368.  
  3369. Center!
  3370.  
  3371. FullAlign!
  3372.  
  3373. Left!
  3374.  
  3375. Right!
  3376.  
  3377. Offset: measurement (optional)    The image position relative to the alignment point. Left is a negative number, right is positive
  3378.  
  3379. LeftColumn: numeric (optional)    Use when a box aligns to columns.
  3380.  
  3381. RightColumn: numeric (optional)    Use when a box aligns to columns.
  3382.  
  3383. BoxHorizontalPosition
  3384.  
  3385. Syntax
  3386.  
  3387. BoxHorizontalPosition(Position As Integer)
  3388.  
  3389. Description
  3390.  
  3391. Specify the horizontal position of a box relative to the left edge of the page.
  3392.  
  3393. Parameters
  3394.  
  3395. Position: measurement    Specify how far the box should be from the left edge of the page.
  3396.  
  3397. BoxImageBlackWhiteThreshold
  3398.  
  3399. Syntax
  3400.  
  3401. BoxImageBlackWhiteThreshold(Threshold As Integer)
  3402.  
  3403. Description
  3404.  
  3405. Specify the point at which colors and/or grays in the current image convert to black and white.
  3406.  
  3407. Parameters
  3408.  
  3409. Threshold: numeric    Value: 1-255. Values below the threshold convert to black, those above convert to white. Default: 127.
  3410.  
  3411. BoxImageBrightness
  3412.  
  3413. Syntax
  3414.  
  3415. BoxImageBrightness(Amount As Double)
  3416.  
  3417. Description
  3418.  
  3419. Adjust the brightness (saturation) of a color or black and white image.
  3420.  
  3421. Parameters
  3422.  
  3423. Amount: numeric    Value: -1.0 to 1.0. Black: -1.0. White: 1.0.
  3424.  
  3425. BoxImageContrast
  3426.  
  3427. Syntax
  3428.  
  3429. BoxImageContrast(Contrast As Double)
  3430.  
  3431. Description
  3432.  
  3433. Specify the contrast between light and dark areas of an image.
  3434.  
  3435. Parameters
  3436.  
  3437. Contrast: numeric    Value: -1.0 to 1.0. Slight: -1.0. Strong: 1.0.
  3438.  
  3439. BoxImageDitherMethod
  3440.  
  3441. Syntax
  3442.  
  3443. BoxImageDitherMethod(Method As _BoxImageDitherMethod_Method_enum, Source As _BoxImageDitherMethod_Source_enum)
  3444.  
  3445. Description
  3446.  
  3447. Specify a dither method and source.
  3448.  
  3449. Parameters
  3450.  
  3451. Method: enumeration    Default!
  3452.  
  3453. ErrorDiffusionDither!
  3454.  
  3455. Halftoning!
  3456.  
  3457. OrderedDither!
  3458.  
  3459. Source: enumeration    Default!
  3460.  
  3461. External!
  3462.  
  3463. Printer!
  3464.  
  3465. WordPerfect!
  3466.  
  3467. BoxImageFill
  3468.  
  3469. Syntax
  3470.  
  3471. BoxImageFill(ImageFillType As _BoxImageFill_ImageFillType_enum)
  3472.  
  3473. Description
  3474.  
  3475. Specify an image fill type. Images can have normal fill, no fill, or white fill.
  3476.  
  3477. Parameters
  3478.  
  3479. ImageFillType: enumeration    Normal!
  3480.  
  3481. Transparent!
  3482.  
  3483. White!
  3484.  
  3485. BoxImageFlipX
  3486.  
  3487. Syntax
  3488.  
  3489. BoxImageFlipX(State As _BoxImageFlipX_State_enum)
  3490.  
  3491. Description
  3492.  
  3493. Flip an image box on its X (horizontal) axis, turning the image upside down.
  3494.  
  3495. Parameters
  3496.  
  3497. State: enumeration    No!
  3498.  
  3499. Yes!
  3500.  
  3501. BoxImageFlipY
  3502.  
  3503. Syntax
  3504.  
  3505.  BoxImageFlipY(State As _BoxImageFlipY_State_enum)
  3506.  
  3507. Description
  3508.  
  3509. Reverse an image box on its Y (vertical) axis, turning the image from side to side.
  3510.  
  3511. Parameters
  3512.  
  3513. State: enumeration    No!
  3514.  
  3515. Yes!
  3516.  
  3517. BoxImageHalfToneOptions
  3518.  
  3519. Syntax
  3520.  
  3521. BoxImageHalfToneOptions(HalfTone As _BoxImageHalfToneOptions_HalfTone_enum, [LPI As Double], [Plane0 As Double], [Plane1 As Double], [Plane2 As Double], [Plane3 As Double])
  3522.  
  3523. Description
  3524.  
  3525. Specify the default or user-defined halftone values for the current printer.
  3526.  
  3527. Parameters
  3528.  
  3529. HalfTone: enumeration    DefaultValues!
  3530.  
  3531. SetValues!
  3532.  
  3533. LPI: numeric (optional)    The number of lines per inch for user-defined values.
  3534.  
  3535. Plane0: numeric (optional)    The first halftone angle for user-defined values.
  3536.  
  3537. Plane1: numeric (optional)    The second halftone angle for user-defined values.
  3538.  
  3539. Plane2: numeric (optional)    The third halftone angle for user-defined values.
  3540.  
  3541. Plane3: numeric (optional)    The fourth halftone angle for user-defined values.
  3542.  
  3543. BoxImageInvertColors
  3544.  
  3545. Syntax
  3546.  
  3547. BoxImageInvertColors(State As _BoxImageInvertColors_State_enum)
  3548.  
  3549. Description
  3550.  
  3551. Convert the image colors to their complements.
  3552.  
  3553. Parameters
  3554.  
  3555. State: enumeration    No!
  3556.  
  3557. Yes!
  3558.  
  3559. BoxImageMonochrome
  3560.  
  3561. Syntax
  3562.  
  3563. BoxImageMonochrome(State As _BoxImageMonochrome_State_enum)
  3564.  
  3565. Description
  3566.  
  3567. Convert a color image to black and white, and specify the threshold for blackness.
  3568.  
  3569. Parameters
  3570.  
  3571. State: enumeration    No!
  3572.  
  3573. Yes!
  3574.  
  3575. BoxImageMove
  3576.  
  3577. Syntax
  3578.  
  3579.  BoxImageMove(XPosition As Double, YPosition As Double)
  3580.  
  3581. Description
  3582.  
  3583. Move an image within a box.
  3584.  
  3585. Parameters
  3586.  
  3587. XPosition: numeric    The horizontal position. Value: -5.0 to 5.0. Default: 0 (centered).
  3588.  
  3589. YPosition: numeric    The vertical position. Value: -5.0 to 5.0. Default: 0 (centered).
  3590.  
  3591. BoxImageRetrieve
  3592.  
  3593. Syntax
  3594.  
  3595. BoxImageRetrieve(Action As _BoxImageRetrieve_Action_enum, Filename As String, [FileFormat As _BoxImageRetrieve_FileFormat_enum])
  3596.  
  3597. Description
  3598.  
  3599. Retrieve an image.
  3600.  
  3601. Parameters
  3602.  
  3603. Action: enumeration    LeaveExternal!
  3604.  
  3605. MakeInternal!
  3606.  
  3607. UseInternal!
  3608.  
  3609. Filename: string    Specify the filename of the image you want to insert into the box.
  3610.  
  3611. FileFormat: enumeration (optional)    AdobePhotoShop!
  3612.  
  3613. AutoCAD_DXF!
  3614.  
  3615. BIFFCharts!
  3616.  
  3617. Bitmap!
  3618.  
  3619. CALSBitmap!
  3620.  
  3621. CGM!
  3622.  
  3623. CompuserveGIF!
  3624.  
  3625. CompuserveGIF24!
  3626.  
  3627. CorelPhotoPaint!
  3628.  
  3629. CorelVentura!
  3630.  
  3631. CorelWavelen!
  3632.  
  3633. EncapsulatedPostScript!
  3634.  
  3635. EnhancedWindowsMetaFile!
  3636.  
  3637. FAX_TIFF!
  3638.  
  3639. GEMIMG!
  3640.  
  3641. HewlettPackardGraphicPlotter!
  3642.  
  3643. JPEG!
  3644.  
  3645. KodakPhotoCD!
  3646.  
  3647. LotusPIC!
  3648.  
  3649. Macintosh_PICT!
  3650.  
  3651. MacPaint!
  3652.  
  3653. Micrografx!
  3654.  
  3655. MicrografxPicturePublisher4!
  3656.  
  3657. PCPaintbrushX!
  3658.  
  3659. Presentations_20!
  3660.  
  3661. ScitexCT!
  3662.  
  3663. TaggedImageFileFormat!
  3664.  
  3665. TarGA!
  3666.  
  3667. WindowsMetaFile!
  3668.  
  3669. WordPerfectGraphic_10!
  3670.  
  3671. WordPerfectGraphic_20!
  3672.  
  3673. WPChartingData_10!
  3674.  
  3675. WPChartingData_10E!
  3676.  
  3677. WPChartingData_20!
  3678.  
  3679. WPChartingStyle_10!
  3680.  
  3681. WPChartingStyle_10E!
  3682.  
  3683. WPChartingStyle_20!
  3684.  
  3685. WPWorksPaint_20!
  3686.  
  3687. BoxImageRotate
  3688.  
  3689. Syntax
  3690.  
  3691. BoxImageRotate(Rotation As Double)
  3692.  
  3693. Description
  3694.  
  3695. Rotate an image within a box.
  3696.  
  3697. Parameters
  3698.  
  3699. Rotation: numeric    Value: 0.0 to 359.0.
  3700.  
  3701. BoxImageSave
  3702.  
  3703. Syntax
  3704.  
  3705. BoxImageSave(Filename As String, Format As _BoxImageSave_Format_enum)
  3706.  
  3707. Description
  3708.  
  3709. Save an image, and optionally rename it and specify a graphics format.
  3710.  
  3711. Parameters
  3712.  
  3713. Filename: string    Specify a filename for the newly saved graphic.
  3714.  
  3715. Format: enumeration    Presentations_20!
  3716.  
  3717. WordPerfectGraphic_10!
  3718.  
  3719. WordPerfectGraphic_20!
  3720.  
  3721. BoxImageScaling
  3722.  
  3723. Syntax
  3724.  
  3725. BoxImageScaling(XScale As Double, YScale As Double)
  3726.  
  3727. Description
  3728.  
  3729. Scale an image within a box.
  3730.  
  3731. Parameters
  3732.  
  3733. XScale: numeric    The image width. Value: 0.01 to 9.99. Default: 1.0.
  3734.  
  3735. YScale: numeric    The image height. Value: 0.01 to 9.99. Default: 1.0.
  3736.  
  3737. BoxImageShowBackground
  3738.  
  3739. Syntax
  3740.  
  3741. BoxImageShowBackground(State As _BoxImageShowBackground_State_enum)
  3742.  
  3743. Description
  3744.  
  3745. Display the background colors or gradient saved with an image.
  3746.  
  3747. Parameters
  3748.  
  3749. State: enumeration    No!
  3750.  
  3751. Yes!
  3752.  
  3753. BoxInitialStyleDlg
  3754.  
  3755. Syntax
  3756.  
  3757. BoxInitialStyleDlg()
  3758.  
  3759. Description
  3760.  
  3761. Display the Text Box Initial Style dialog box. Specify a box before this method.
  3762.  
  3763. BoxOLEEditObject
  3764.  
  3765. Syntax
  3766.  
  3767. BoxOLEEditObject()
  3768.  
  3769. Description
  3770.  
  3771. Edit the graphics box contents with the OLE server.
  3772.  
  3773. BoxOverlap
  3774.  
  3775. Syntax
  3776.  
  3777.  BoxOverlap(State As _BoxOverlap_State_enum)
  3778.  
  3779. Description
  3780.  
  3781. Allow a box to overlap other boxes. Precede with BoxCreate() or BoxEdit() and follow with BoxEnd(). This method takes effect only for boxes that are attached to a page or a paragraph.
  3782.  
  3783. Parameters
  3784.  
  3785. State: enumeration    No!
  3786.  
  3787. Yes!
  3788.  
  3789. BoxPosDlg
  3790.  
  3791. Syntax
  3792.  
  3793. BoxPosDlg()
  3794.  
  3795. Description
  3796.  
  3797. Display the Box Position dialog box.
  3798.  
  3799. BoxResetBorder
  3800.  
  3801. Syntax
  3802.  
  3803. BoxResetBorder()
  3804.  
  3805. Description
  3806.  
  3807. Reset the border values for the current box to the values of the corresponding box style. For example, border changes made to a specific figure box reset to the default border values assigned to the Figure Box style. Precede with BoxCreate() or BoxEdit() and end with BoxEnd().
  3808.  
  3809. BoxResetCaption
  3810.  
  3811. Syntax
  3812.  
  3813. BoxResetCaption()
  3814.  
  3815. Description
  3816.  
  3817. Reset the caption values for the current box to the caption values of the corresponding box style. For example, caption changes made to a specific text box are reset to the default caption values assigned to the Text Box style. Precede with BoxEdit() and end with BoxEnd().
  3818.  
  3819. BoxResetContent
  3820.  
  3821. Syntax
  3822.  
  3823. BoxResetContent()
  3824.  
  3825. Description
  3826.  
  3827. Reset the content values for the current box to the content values of the corresponding box style. For example, content changes made to a specific user box are reset to the values assigned to the User Box style. Precede with BoxEdit() and end with BoxEnd().
  3828.  
  3829. BoxResetContentRender
  3830.  
  3831. Syntax
  3832.  
  3833. BoxResetContentRender()
  3834.  
  3835. Description
  3836.  
  3837. Reset the content render values for the current box to the values of the corresponding box style. For example, content render changes made to a specific equation box are reset to the default content render values assigned to the Equation Box style.
  3838.  
  3839. BoxResetCounter
  3840.  
  3841. Syntax
  3842.  
  3843. BoxResetCounter()
  3844.  
  3845. Description
  3846.  
  3847. Reset the counter values for the current box to the values of the corresponding box style. For example, counter changes made to an equation box are reset to the default counter values of the Equation Box style.
  3848.  
  3849. BoxResetFill
  3850.  
  3851. Syntax
  3852.  
  3853. BoxResetFill()
  3854.  
  3855. Description
  3856.  
  3857. Reset the fill values for the current box to the values of the corresponding box style. For example, fill style changes made to a figure box are reset to the fill values of the Figure Box style.
  3858.  
  3859. BoxResetPosition
  3860.  
  3861. Syntax
  3862.  
  3863. BoxResetPosition()
  3864.  
  3865. Description
  3866.  
  3867. Reset the position values for the current box to the position values for the corresponding box style. For example, position changes made to a figure box are reset to default position values of the Figure Box style.
  3868.  
  3869. BoxResetTextFlow
  3870.  
  3871. Syntax
  3872.  
  3873. BoxResetTextFlow()
  3874.  
  3875. Description
  3876.  
  3877. Reset the text-wrapping values for the current box to the values of the corresponding box style. For example, text-wrapping changes made to a user box are reset to the text-flow values of the User Box style.
  3878.  
  3879. BoxSaveLookAsStyle
  3880.  
  3881. Syntax
  3882.  
  3883. BoxSaveLookAsStyle(Style As String, Library As _BoxSaveLookAsStyle_Library_enum)
  3884.  
  3885. Description
  3886.  
  3887. Save the settings for the current box as a style. This method must be preceded by BoxCreate(), BoxEdit(), BoxEditByCounter(), BoxEditNext(), or BoxEditPrevious(), and followed by BoxEnd().
  3888.  
  3889. Parameters
  3890.  
  3891. Style: string    Specify the name of the box style.
  3892.  
  3893. Library: enumeration    CurrentDoc!
  3894.  
  3895. PersonalLibrary!
  3896.  
  3897. SharedLibrary!
  3898.  
  3899. BoxStaysOnPage
  3900.  
  3901. Syntax
  3902.  
  3903. BoxStaysOnPage(State As _BoxStaysOnPage_State_enum)
  3904.  
  3905. Description
  3906.  
  3907. Specify whether a graphics box is allowed to move with the surrounding text. Although you may use BoxStaysOnPage to set this option for boxes that are attached to a paragraph or character, it takes effect only for boxes that are attached to a page. This method must be preceded by BoxCreate(), BoxEdit(), BoxEditByCounter(), BoxEditNext(), or BoxEditPrevious(), and followed by BoxEnd().
  3908.  
  3909. Parameters
  3910.  
  3911. State: enumeration    No!
  3912.  
  3913. Yes!
  3914.  
  3915. BoxStyleCopy
  3916.  
  3917. Syntax
  3918.  
  3919. BoxStyleCopy(Style, FromLibrary As _BoxStyleCopy_FromLibrary_enum, ToLibrary As _BoxStyleCopy_ToLibrary_enum, [DestName As String])
  3920.  
  3921. Description
  3922.  
  3923. Copy a box style from one library to another and/or rename the style.
  3924.  
  3925. Parameters
  3926.  
  3927. Style: any    FigureBox     0
  3928.  
  3929. TableBox     1
  3930.  
  3931. TextBox     2
  3932.  
  3933. UserBox     3
  3934.  
  3935. EquationBox 4
  3936.  
  3937. ButtonBox     5
  3938.  
  3939. WatermarkImageBox 6
  3940.  
  3941. InlineEquationBox     7
  3942.  
  3943. NoBox 127
  3944.  
  3945. FromLibrary: enumeration    CurrentDocument!
  3946.  
  3947. PersonalLibrary!
  3948.  
  3949. SharedLibrary!
  3950.  
  3951. ToLibrary: enumeration    CurrentDocument!
  3952.  
  3953. PersonalLibrary!
  3954.  
  3955. SharedLibrary!
  3956.  
  3957. DestName: string (optional)    Specify a new name for the style.
  3958.  
  3959. BoxStyleCreate
  3960.  
  3961. Syntax
  3962.  
  3963.  BoxStyleCreate(Style, [Library As _BoxStyleCreate_Library_enum])
  3964.  
  3965. Description
  3966.  
  3967. Create a box style and specify the library where it resides.
  3968.  
  3969. Parameters
  3970.  
  3971. Style: any    Specify a name for the new box style.
  3972.  
  3973. Library: enumeration (optional)    CurrentDoc!
  3974.  
  3975. PersonalLibrary!
  3976.  
  3977. SharedLibrary!
  3978.  
  3979. BoxStyleDelete
  3980.  
  3981. Syntax
  3982.  
  3983. BoxStyleDelete(Style, [Library As _BoxStyleDelete_Library_enum])
  3984.  
  3985. Description
  3986.  
  3987. Delete a user-defined box style.
  3988.  
  3989. Parameters
  3990.  
  3991. Style: any    FigureBox 0
  3992.  
  3993. TableBox 1
  3994.  
  3995. TextBox     2
  3996.  
  3997. UserBox 3
  3998.  
  3999. EquationBox 4
  4000.  
  4001. ButtonBox 5
  4002.  
  4003. WatermarkImageBox 6
  4004.  
  4005. InlineEquationBox     7
  4006.  
  4007. NoBox 127
  4008.  
  4009. Library: enumeration (optional)    CurrentDoc!
  4010.  
  4011. PersonalLibrary!
  4012.  
  4013. SharedLibrary!
  4014.  
  4015. BoxStyleEdit
  4016.  
  4017. Syntax
  4018.  
  4019. BoxStyleEdit(Style, [Library As _BoxStyleEdit_Library_enum])
  4020.  
  4021. Description
  4022.  
  4023. Begin box style editing.
  4024.  
  4025. Parameters
  4026.  
  4027. Style: any    Enclose user-defined styles in quotation marks.
  4028.  
  4029. ButtonBox!
  4030.  
  4031. EquationBox!
  4032.  
  4033. FigureBox!
  4034.  
  4035. InlineEquationBox!
  4036.  
  4037. NoBox!
  4038.  
  4039. TableBox!
  4040.  
  4041. TextBox!
  4042.  
  4043. UserBox!
  4044.  
  4045. WatermarkImageBox!    
  4046.  
  4047.  
  4048.  
  4049. 5
  4050.  
  4051. 4
  4052.  
  4053. 0
  4054.  
  4055. 7
  4056.  
  4057. 127
  4058.  
  4059. 1
  4060.  
  4061. 2
  4062.  
  4063. 3
  4064.  
  4065. 6
  4066.  
  4067.  
  4068.  
  4069. Library: enumeration (optional)    CurrentDoc!
  4070.  
  4071. PersonalLibrary!
  4072.  
  4073. SharedLibrary!    
  4074.  
  4075. BoxStyleEnd
  4076.  
  4077. Syntax
  4078.  
  4079. BoxStyleEnd(State As _BoxStyleEnd_State_enum)
  4080.  
  4081. Description
  4082.  
  4083. Exit the graphics style create or edit mode with or without saving changes. Precede this method with BoxStyleCreate() or BoxStyleEdit().
  4084.  
  4085. Parameters
  4086.  
  4087. State: enumeration    Cancel!
  4088.  
  4089. Save!
  4090.  
  4091. BoxStyleName
  4092.  
  4093. Syntax
  4094.  
  4095. BoxStyleName(StyleName As String)
  4096.  
  4097. Description
  4098.  
  4099. Specify a box style name. Precede with BoxStyleCreate().
  4100.  
  4101. Parameters
  4102.  
  4103. StyleName: string    Type in a name for the new box style.
  4104.  
  4105. BoxStyleRetrieve
  4106.  
  4107. Syntax
  4108.  
  4109. BoxStyleRetrieve(Filename As String, Library As _BoxStyleRetrieve_Library_enum)
  4110.  
  4111. Description
  4112.  
  4113. Retrieve all box graphics styles from the specified document or template and add to the specified style list.
  4114.  
  4115. Parameters
  4116.  
  4117. Filename: string    The path and filename of a document or template containing the styles to retrieve.
  4118.  
  4119. Library: enumeration    Destination for the retrieved styles. Use CurrentDoc! to add the styles to the current document style list. Use PersonalLibrary! to add the styles to the default template style list. Use SharedLibrary! to add the styles to the additional objects template style list. If an additional objects template is not specified in Files Preferences, and SharedLibrary! is used here, the method does nothing.
  4120.  
  4121. CurrentDoc!
  4122.  
  4123. PersonalLibrary!
  4124.  
  4125. SharedLibrary! Not used.
  4126.  
  4127. BoxStyleSave
  4128.  
  4129. Syntax
  4130.  
  4131.  BoxStyleSave(Filename As String, Library As _BoxStyleSave_Library_enum)
  4132.  
  4133. Description
  4134.  
  4135. Save all styles in the current document or a specified style library to another style library, replacing all styles already in it.
  4136.  
  4137. Parameters
  4138.  
  4139. Filename: string    The style library to save to.
  4140.  
  4141. Library: enumeration    The current style location.
  4142.  
  4143. CurrentDoc!
  4144.  
  4145. PersonalLibrary!
  4146.  
  4147. SharedLibrary!
  4148.  
  4149. BoxTextAngle
  4150.  
  4151. Syntax
  4152.  
  4153. BoxTextAngle(Angle As _BoxTextAngle_Angle_enum)
  4154.  
  4155. Description
  4156.  
  4157. Rotate the text in a text box.
  4158.  
  4159. Parameters
  4160.  
  4161. Angle: enumeration    Degrees180!
  4162.  
  4163. Degrees270!
  4164.  
  4165. Degrees90!
  4166.  
  4167. None!
  4168.  
  4169. BoxTextDefaultStyle
  4170.  
  4171. Syntax
  4172.  
  4173. BoxTextDefaultStyle(Style)
  4174.  
  4175. Description
  4176.  
  4177. Specify the default text box style. You must pass the numeric value that corresponds to the style.
  4178.  
  4179. Parameters
  4180.  
  4181. Style: any    NormalStyle!
  4182.  
  4183. FootnoteNumberInDocumentStyle!
  4184.  
  4185. EndnoteNumberInDocumentStyle!
  4186.  
  4187. FigureNumberStyle!
  4188.  
  4189. TableBoxNumberStyle!
  4190.  
  4191. TextBoxNumberStyle!
  4192.  
  4193. UserBoxNumberStyle!
  4194.  
  4195. EquationNumberStyle!
  4196.  
  4197. HypertextStyle!
  4198.  
  4199. ToC1Style!
  4200.  
  4201. ToC2Style!
  4202.  
  4203. ToC3Style!
  4204.  
  4205. ToC4Style!
  4206.  
  4207. ToC5Style!
  4208.  
  4209. Index1Style!
  4210.  
  4211. Index2Style!
  4212.  
  4213. ListStyle!
  4214.  
  4215. ToAStyle!
  4216.  
  4217. DocStyle!
  4218.  
  4219. BoxTextStyle!
  4220.  
  4221. CaptionStyle!
  4222.  
  4223. FootnoteStyle!
  4224.  
  4225. EndnoteStyle!
  4226.  
  4227. CommentStyle!
  4228.  
  4229. HeaderAStyle!
  4230.  
  4231. HeaderBStyle!
  4232.  
  4233. FooterAStyle!
  4234.  
  4235. FooterBStyle!
  4236.  
  4237. WatermarkAStyle!
  4238.  
  4239. WatermarkBStyle!AddressStyle!
  4240.  
  4241. ParagraphOutlnStyle!
  4242.  
  4243. OutlineStyle!
  4244.  
  4245. LegalOutlnStyle!
  4246.  
  4247. BulletsOutlnStyle!
  4248.  
  4249. HeadingsOutlnStyle!
  4250.  
  4251. Legal_2OutlnStyle!
  4252.  
  4253. NumbersOutlnStyle!
  4254.  
  4255. Level1Style!
  4256.  
  4257. Level2Style!
  4258.  
  4259. Level3Style!
  4260.  
  4261. Level4Style!
  4262.  
  4263. Level5Style!
  4264.  
  4265. Level6Style!
  4266.  
  4267. Level7Style!
  4268.  
  4269. Level8Style!
  4270.  
  4271. Legal1Style!
  4272.  
  4273. Legal2Style!
  4274.  
  4275. Legal3Style!
  4276.  
  4277. Legal4Style!
  4278.  
  4279. Legal5Style!
  4280.  
  4281. Legal6Style!
  4282.  
  4283. Legal7Style!
  4284.  
  4285. Legal8Style!
  4286.  
  4287. Heading1Style!
  4288.  
  4289. Heading2Style!
  4290.  
  4291. Heading3Style!
  4292.  
  4293. Heading4Style!
  4294.  
  4295. Heading5Style!
  4296.  
  4297. Heading6Style!
  4298.  
  4299. Heading7Style!
  4300.  
  4301. Heading8Style!
  4302.  
  4303. MonospacedStyle!
  4304.  
  4305. CustomHTMLStyle!
  4306.  
  4307. PreformattedStyle!
  4308.  
  4309. AddressStyle!
  4310.  
  4311. QuotationsOutlnStyle!
  4312.  
  4313. DefinitionsOutlnStyle!
  4314.  
  4315. Quotation1Style!
  4316.  
  4317. Quotation2Style!
  4318.  
  4319. Quotation3Style!
  4320.  
  4321. Quotation4Style!
  4322.  
  4323. Quotation5Style!
  4324.  
  4325. Quotation6Style!
  4326.  
  4327. Quotation7Style!
  4328.  
  4329. Quotation8Style!
  4330.  
  4331. Definition1Style!
  4332.  
  4333. Definition2Style!
  4334.  
  4335. Definition3Style!
  4336.  
  4337. Definition4Style!
  4338.  
  4339. Definition5Style!
  4340.  
  4341. Definition6Style!
  4342.  
  4343. Definition7Style!
  4344.  
  4345. Definition8Style!
  4346.  
  4347. Level9Style!
  4348.  
  4349. Legal9Style!
  4350.  
  4351. Heading9Style!
  4352.  
  4353. Quotation9Style!
  4354.  
  4355. DefinitionStyle!     0
  4356.  
  4357. 16
  4358.  
  4359. 17
  4360.  
  4361. 18
  4362.  
  4363. 19
  4364.  
  4365. 20
  4366.  
  4367. 21
  4368.  
  4369. 22
  4370.  
  4371. 23
  4372.  
  4373. 24
  4374.  
  4375. 25
  4376.  
  4377. 26
  4378.  
  4379. 27
  4380.  
  4381. 28
  4382.  
  4383. 29
  4384.  
  4385. 30
  4386.  
  4387. 31
  4388.  
  4389. 32
  4390.  
  4391. 33
  4392.  
  4393. 34
  4394.  
  4395. 35
  4396.  
  4397. 36
  4398.  
  4399. 37
  4400.  
  4401. 38
  4402.  
  4403. 39
  4404.  
  4405. 40
  4406.  
  4407. 41
  4408.  
  4409. 42
  4410.  
  4411. 43
  4412.  
  4413. 44
  4414.  
  4415. 45
  4416.  
  4417. 46
  4418.  
  4419. 47
  4420.  
  4421. 48
  4422.  
  4423. 49
  4424.  
  4425. 50
  4426.  
  4427. 51
  4428.  
  4429. 52
  4430.  
  4431. 53
  4432.  
  4433. 54
  4434.  
  4435. 55
  4436.  
  4437. 56
  4438.  
  4439. 57
  4440.  
  4441. 58
  4442.  
  4443. 59
  4444.  
  4445. 60
  4446.  
  4447. 61
  4448.  
  4449. 62
  4450.  
  4451. 63
  4452.  
  4453. 64
  4454.  
  4455. 65
  4456.  
  4457. 66
  4458.  
  4459. 67
  4460.  
  4461. 68
  4462.  
  4463. 69
  4464.  
  4465. 70
  4466.  
  4467. 71
  4468.  
  4469. 72
  4470.  
  4471. 73
  4472.  
  4473. 74
  4474.  
  4475. 75
  4476.  
  4477. 76
  4478.  
  4479. 77
  4480.  
  4481. 78
  4482.  
  4483. 79
  4484.  
  4485. 80
  4486.  
  4487. 81
  4488.  
  4489. 82
  4490.  
  4491. 83
  4492.  
  4493. 84
  4494.  
  4495. 85
  4496.  
  4497. 86
  4498.  
  4499. 87
  4500.  
  4501. 88
  4502.  
  4503. 89
  4504.  
  4505. 90
  4506.  
  4507. 91
  4508.  
  4509. 92
  4510.  
  4511. 93
  4512.  
  4513. 94
  4514.  
  4515. 95
  4516.  
  4517. 96
  4518.  
  4519. 97
  4520.  
  4521. 111
  4522.  
  4523. 112
  4524.  
  4525. 113
  4526.  
  4527. 114
  4528.  
  4529. 115
  4530.  
  4531.  
  4532.  
  4533. Example
  4534.  
  4535. In the following example, a Textbox is created. The style used in 'NormalStyle', therefore the value 0 must be passed. after the bos is created BoxEnd() is called.
  4536.  
  4537.  
  4538.  
  4539. '**** Create a Text Box
  4540.  
  4541. PS.BoxCreate 2
  4542.  
  4543. PS.BoxTextDefaultStyle 0
  4544.  
  4545. PS.BoxEnd Save_BoxEnd_State
  4546.  
  4547.  
  4548.  
  4549. BoxTextEdit
  4550.  
  4551. Syntax
  4552.  
  4553. BoxTextEdit()
  4554.  
  4555. Description
  4556.  
  4557. Begin the text box-editing methods. Follow with methods that modify box contents such as KeyType(), and complete the process by calling BoxTextEditEnd().
  4558.  
  4559. Example
  4560.  
  4561. In the following example, a Text Box is created. The string "Hello There" is inserted into the text box. The PS object references the PerfectScript class.
  4562.  
  4563.  
  4564.  
  4565. '***** Create a TextBox
  4566.  
  4567. PS.BoxCreate 2
  4568.  
  4569. PS.BoxTextDefaultStyle 0
  4570.  
  4571. PS.BoxTextEdit
  4572.  
  4573. PS.KeyType "Hello There"
  4574.  
  4575. PS.BoxTextEditEnd
  4576.  
  4577. PS.BoxEnd Save_BoxEnd_State
  4578.  
  4579. BoxTextEditEnd
  4580.  
  4581. Syntax
  4582.  
  4583. BoxTextEditEnd()
  4584.  
  4585. Description
  4586.  
  4587. End the text box-editing methods. Precede with BoxTextEdit() and methods such as KeyType().
  4588.  
  4589. Example
  4590.  
  4591. In the following example, a Text Box is created. The string "Hello There" is inserted into the text box. The PS object references the PerfectScript class.
  4592.  
  4593.  
  4594.  
  4595. '***** Create a TextBox
  4596.  
  4597. PS.BoxCreate 2
  4598.  
  4599. PS.BoxTextDefaultStyle 0
  4600.  
  4601. PS.BoxTextEdit
  4602.  
  4603. PS.KeyType "Hello There"
  4604.  
  4605. PS.BoxTextEditEnd
  4606.  
  4607. PS.BoxEnd Save_BoxEnd_State
  4608.  
  4609.  
  4610.  
  4611. BoxTextFilename
  4612.  
  4613. Syntax
  4614.  
  4615.  BoxTextFilename(Filename As String)
  4616.  
  4617. Description
  4618.  
  4619. Specify a file to insert into a text box.
  4620.  
  4621. Parameters
  4622.  
  4623. Filename: string     Name of the file to insert into the text box.
  4624.  
  4625. BoxTextFlow
  4626.  
  4627. Syntax
  4628.  
  4629. BoxTextFlow(Wrap As _BoxTextFlow_Wrap_enum)
  4630.  
  4631. Description
  4632.  
  4633. Specify the side(s) of a box to wrap text around.
  4634.  
  4635. Parameters
  4636.  
  4637. Wrap: enumeration    BothSides!
  4638.  
  4639. Columnar!
  4640.  
  4641. LargestSide!
  4642.  
  4643. LeftSide!
  4644.  
  4645. NeitherSide!
  4646.  
  4647. NoWrapping!
  4648.  
  4649. RightSide!
  4650.  
  4651. BoxTextFlowContour
  4652.  
  4653. Syntax
  4654.  
  4655. BoxTextFlowContour()
  4656.  
  4657. Description
  4658.  
  4659. Contour the text outside a box to the shape of an image inside the box.
  4660.  
  4661. BoxTextFlowSquare
  4662.  
  4663. Syntax
  4664.  
  4665.  BoxTextFlowSquare()
  4666.  
  4667. Description
  4668.  
  4669. Contour the text outside a box evenly around all sides of the box. Precede with BoxTextFlowContour.
  4670.  
  4671. BoxToBack
  4672.  
  4673. Syntax
  4674.  
  4675. BoxToBack()
  4676.  
  4677. Description
  4678.  
  4679. Move the selected object(s) to the back.
  4680.  
  4681. BoxToFront
  4682.  
  4683. Syntax
  4684.  
  4685. BoxToFront()
  4686.  
  4687. Description
  4688.  
  4689. Move the selected object(s) to the front.
  4690.  
  4691. BoxUpdateDisplay
  4692.  
  4693. Syntax
  4694.  
  4695. BoxUpdateDisplay()
  4696.  
  4697. Description
  4698.  
  4699. Update the appearance of a box after editing changes. This method must be preceded by BoxCreate(), BoxEdit(), BoxEditByCounter(), BoxEditNext(), or BoxEditPrevious(), and followed by BoxEnd().
  4700.  
  4701. Example
  4702.  
  4703. In the following example a watermark box is created. This method is called after the image is inserted. The PS object references the PerfectScript class.
  4704.  
  4705.  
  4706.  
  4707. '**** Create a Watermark Box
  4708.  
  4709. PS.BoxCreate 6
  4710.  
  4711. PS.BoxContentType Image_BoxContentType_Content
  4712.  
  4713. PS.BoxImageRetrieve MakeInternal_BoxImageRetrieve_Action, "E:\Lake.bmp"
  4714.  
  4715. PS.ChangeWatermarkGraphicShade 55
  4716.  
  4717. PS.BoxBorder 13
  4718.  
  4719. PS.BoxUpdateDisplay
  4720.  
  4721. PS.BoxEnd Save_BoxEnd_State
  4722.  
  4723. BoxVerticalAlignment
  4724.  
  4725. Syntax
  4726.  
  4727. BoxVerticalAlignment(Alignment As _BoxVerticalAlignment_Alignment_enum, [Offset])
  4728.  
  4729. Description
  4730.  
  4731. Align a box with the page or character it is attached to. This method is not valid with paragraph-attached boxes. Precede with BoxCreate() or BoxEdit() and follow with BoxEnd().
  4732.  
  4733. Parameters
  4734.  
  4735. Alignment: enumeration    Top!
  4736.  
  4737. Center!
  4738.  
  4739. Bottom!
  4740.  
  4741. Baseline!
  4742.  
  4743. FullAlign!
  4744.  
  4745. BaseOffset!
  4746.  
  4747. ForceLeftMargin!
  4748.  
  4749. ForceRightMargin!
  4750.  
  4751. CenteredOnBaseline!
  4752.  
  4753. BottomOnBottom!
  4754.  
  4755. Offset: any (optional)    Lets you specify how much to move the box in relation to the text to which it is attached.
  4756.  
  4757. BoxVerticalPosition
  4758.  
  4759. Syntax
  4760.  
  4761.  BoxVerticalPosition(Alignment)
  4762.  
  4763. Description
  4764.  
  4765. Specify the vertical position of a box attached to a page or paragraph. For example, the distance from the top of the page (or top margin) to the top of the box. Not valid for boxes attached to characters.
  4766.  
  4767. Parameters
  4768.  
  4769. Alignment: any    Specify how much space should be between the box and the top of the page or margin.
  4770.  
  4771. BoxWidth
  4772.  
  4773. Syntax
  4774.  
  4775. BoxWidth(Width)
  4776.  
  4777. Description
  4778.  
  4779. Base the box width on the width of box contents, or specify a fixed measurement.
  4780.  
  4781. Parameters
  4782.  
  4783. Width: any    Use a number to specify a fixed width.
  4784.  
  4785. AutoWidth!
  4786.  
  4787. Example
  4788.  
  4789. In the following example. a text box is created. The width of the Text Box is set to 6400 pixels. You should experiment to find a value that matches your needs. The PS object references the PerfectScript class.
  4790.  
  4791. '******* Create a TextBox
  4792.  
  4793. PS.BoxCreate 2
  4794.  
  4795. PS.BoxTextDefaultStyle 0
  4796.  
  4797.  
  4798.  
  4799. '***** Set the width of the box to 64oo pixels
  4800.  
  4801. PS.BoxWidth 6400
  4802.  
  4803. PS.BoxTextEdit
  4804.  
  4805. PS.KeyType "Hello There"
  4806.  
  4807. PS.BoxTextEditEnd
  4808.  
  4809. PS.BoxEnd Save_BoxEnd_State
  4810.  
  4811.  
  4812.  
  4813. BoxWrapDlg
  4814.  
  4815. Syntax
  4816.  
  4817. BoxWrapDlg()
  4818.  
  4819. Description
  4820.  
  4821. Displays the Wrap Text dialog box.
  4822.  
  4823. BulletDlg
  4824.  
  4825. Syntax
  4826.  
  4827. BulletDlg()
  4828.  
  4829. Description
  4830.  
  4831. Displays the Bullets & Numbers dialog box.
  4832.  
  4833.  
  4834.  
  4835. BulletSetCounter
  4836.  
  4837. Syntax
  4838.  
  4839. BulletSetCounter(CounterName As String, Value As Integer)
  4840.  
  4841. Description
  4842.  
  4843. Specify a bullet-style name and counter value.
  4844.  
  4845. Parameters
  4846.  
  4847. CounterName: string    Specify the name of the counter.
  4848.  
  4849. Value: numeric    Specify the value you want the counter to use.
  4850.  
  4851. ButtonBarAddItem
  4852.  
  4853. Syntax
  4854.  
  4855. ButtonBarAddItem(ButtonBarName As String, Template As _ButtonBarAddItem_Template_enum, ItemName As String, Offset As Integer, Type As _ButtonBarAddItem_Type_enum, [MacroName As String], [ItemText As String], [Prompt As String], [HelpFile As String], [HelpId As String], [Script As String]
  4856.  
  4857. Description
  4858.  
  4859. Add items such as macros, buttons, and separators to a toolbar. Use any combination of parameters to identify an item.
  4860.  
  4861. Parameters
  4862.  
  4863. ButtonBarName: string    The toolbar to edit.
  4864.  
  4865. Template: enumeration (optional)    The toolbar location.
  4866.  
  4867. CurrentDoc!
  4868.  
  4869. PersonalLibrary!
  4870.  
  4871. SharedLibrary!
  4872.  
  4873. ItemName: string    For predefined items, use a macro method name.
  4874.  
  4875. Offset: numeric (optional)    The position of an added item. First position: 0. Default: last.
  4876.  
  4877. Type: enumeration    Feature!
  4878.  
  4879. Launch!
  4880.  
  4881. Macro!
  4882.  
  4883. Script!
  4884.  
  4885. Separator!
  4886.  
  4887. MacroName: string (optional)    The name of the macro file.
  4888.  
  4889. ItemText: string (optional)    The text to display on a user-defined item.
  4890.  
  4891. Prompt: string (optional)    The text to display for the new item on the Application Bar.
  4892.  
  4893. HelpFile: string (optional)    The Help file to use if Help is the added item. Not used in the current version of the application.
  4894.  
  4895. HelpId: string (optional)    The ID number of the Help file specified in the HelpFile parameter. Not used in the current version of the application.
  4896.  
  4897. Script: string (optional)    The keyboard script.
  4898.  
  4899. ButtonBarCreateDlg
  4900.  
  4901. Syntax
  4902.  
  4903.  ButtonBarCreateDlg()
  4904.  
  4905. Description
  4906.  
  4907. Display the Create Toolbar dialog box.
  4908.  
  4909. ButtonBarDeleteItem
  4910.  
  4911. Syntax
  4912.  
  4913. ButtonBarDeleteItem(ButtonBarName As String, [Template As _ButtonBarDeleteItem_Template_enum], [ItemName As String], [Offset As Integer])
  4914.  
  4915. Description
  4916.  
  4917. Remove an item from a toolbar. Default: Last item on the current toolbar. Use any combination of parameters to identify an item.
  4918.  
  4919. Parameters
  4920.  
  4921. ButtonBarName: string    The toolbar name.
  4922.  
  4923. Template: enumeration (optional)    The toolbar location.
  4924.  
  4925. CurrentDoc!
  4926.  
  4927. PersonalLibrary!
  4928.  
  4929. SharedLibrary!
  4930.  
  4931. ItemName: string (optional)    For predefined items, use a macro method name.
  4932.  
  4933. Offset: numeric (optional)    The position of the item to remove. First position: 0.
  4934.  
  4935. ButtonBarEditDlg
  4936.  
  4937. Syntax
  4938.  
  4939. ()
  4940.  
  4941. Description
  4942.  
  4943. Display the Toolbar Editor dialog box.
  4944.  
  4945. ButtonBarOptionsDlg
  4946.  
  4947. Syntax
  4948.  
  4949. ()
  4950.  
  4951. Description
  4952.  
  4953. Display the Toolbar Options dialog box.
  4954.  
  4955. ButtonBarScrollbarToggle
  4956.  
  4957. Syntax
  4958.  
  4959.  ButtonBarScrollbarToggle(State As _ButtonBarScrollbarToggle_State_enum, ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarScrollbarToggle_LoadedFromDefaultTemplate_enum)
  4960.  
  4961. Description
  4962.  
  4963. Turn the toolbar scroll bar on or off.
  4964.  
  4965. Parameters
  4966.  
  4967. State: enumeration (optional)    Default = On!
  4968.  
  4969. Off!
  4970.  
  4971. On!
  4972.  
  4973. ButtonBarName: string    The name of the toolbar.
  4974.  
  4975. LoadedFromDefaultTemplate: enumeration    No!
  4976.  
  4977. Yes!
  4978.  
  4979. ButtonBarSelect
  4980.  
  4981. Syntax
  4982.  
  4983. ButtonBarSelect(ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarSelect_LoadedFromDefaultTemplate_enum)
  4984.  
  4985. Description
  4986.  
  4987. Select a toolbar.
  4988.  
  4989. Parameters
  4990.  
  4991. ButtonBarName: string    The name of the toolbar.
  4992.  
  4993. LoadedFromDefaultTemplate: enumeration    No!
  4994.  
  4995. Yes!
  4996.  
  4997. ButtonBarSetFont
  4998.  
  4999. Syntax
  5000.  
  5001. ButtonBarSetFont(Font As String, Size As Integer)
  5002.  
  5003. Description
  5004.  
  5005. Specify a toolbar font face and size.
  5006.  
  5007. Parameters
  5008.  
  5009. Font: string    The font face for toolbar text.
  5010.  
  5011. Size: numeric    The point size of the toolbar text font.
  5012.  
  5013. ButtonBarSetLocation
  5014.  
  5015. Syntax
  5016.  
  5017. ButtonBarSetLocation(Location As _ButtonBarSetLocation_Location_enum, ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarSetLocation_LoadedFromDefaultTemplate_enum)
  5018.  
  5019. Description
  5020.  
  5021. Specify a toolbar position.
  5022.  
  5023. Parameters
  5024.  
  5025. Location: enumeration    Bottom!
  5026.  
  5027. Left!
  5028.  
  5029. Palette!
  5030.  
  5031. Right!
  5032.  
  5033. Top!
  5034.  
  5035. ButtonBarName: string    The name of the toolbar.
  5036.  
  5037. LoadedFromDefaultTemplate: enumeration    No!
  5038.  
  5039. Yes!
  5040.  
  5041. ButtonBarSetRows
  5042.  
  5043. Syntax
  5044.  
  5045.  ButtonBarSetRows(Rows As Integer, ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarSetRows_LoadedFromDefaultTemplate_enum)
  5046.  
  5047. Description
  5048.  
  5049. Specify the number of rows on a toolbar.
  5050.  
  5051. Parameters
  5052.  
  5053. Rows: numeric    The number of rows displayed.
  5054.  
  5055. ButtonBarName: string    The name of the toolbar.
  5056.  
  5057. LoadedFromDefaultTemplate: enumeration    No!
  5058.  
  5059. Yes!
  5060.  
  5061. ButtonBarSetStyle
  5062.  
  5063. Syntax
  5064.  
  5065. ButtonBarSetStyle(Style As _ButtonBarSetStyle_Style_enum, ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarSetStyle_LoadedFromDefaultTemplate_enum)
  5066.  
  5067. Description
  5068.  
  5069. Specify a toolbar style.
  5070.  
  5071. Parameters
  5072.  
  5073. Style: enumeration    Picture!
  5074.  
  5075. PictureAndText!
  5076.  
  5077. Text!
  5078.  
  5079. ButtonBarName: string    The name of the toolbar.
  5080.  
  5081. LoadedFromDefaultTemplate: enumeration    No!
  5082.  
  5083. Yes!
  5084.  
  5085. ButtonBarShow
  5086.  
  5087. Syntax
  5088.  
  5089. ButtonBarShow(State As _ButtonBarShow_State_enum, ButtonBarName As String, LoadedFromDefaultTemplate As _ButtonBarShow_LoadedFromDefaultTemplate_enum)
  5090.  
  5091. Description
  5092.  
  5093. Display or hide the toolbar.
  5094.  
  5095. Parameters
  5096.  
  5097. State: enumeration    Off!
  5098.  
  5099. On!
  5100.  
  5101. ButtonBarName: string    The name of the toolbar.
  5102.  
  5103. LoadedFromDefaultTemplate: enumeration    No!
  5104.  
  5105. Yes!
  5106.  
  5107. ButtonBarShowToggle
  5108.  
  5109. Syntax
  5110.  
  5111. ButtonBarShowToggle()
  5112.  
  5113. Description
  5114.  
  5115. Display or hide the toolbar.
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.