Difference: CDTextSetBoxLocation (1 vs. 2)

Revision 22012-02-22 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorTextRoutines"
 

.TEXT SET BX LOC

This subroutine sets the offset (x and y) of the "current" Text Object .

Revision 12011-11-18 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.TEXT SET BX LOC

This subroutine sets the offset (x and y) of the "current" Text Object .


Usage:

      PASS         <X_location>               FIELD            SHARE? N
      PASS         <Y_location>               FIELD            SHARE? N
      GOSUB    0CD .TEXT SET BX LOC
      *        Check for error
      IF       0CD .TEXT SET BX LOC           NE

Description:

This subroutine sets the offset (x and y) of the "current" Text Object.

The parameters are optional, if blank or not passed it will be reset to the default value. If only one parameter is passed, both X and Y will be set to the same value. If passed, the value must be between -999 - 999, and represents the pixel offset from the default location of the "current" text box.

See .TEXT SET BX LOC:X to set the X offset or .TEXT SET BX LOC:Y to set the Y offset individually.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-11-18

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback