Difference: CDTextSetTextMarginTop (1 vs. 2)

Revision 22012-02-22 - JeanNeron

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

.TEXT SET TXT MARGIN:T

This subroutine sets the top margin for the text in the "current" Text Object .

Revision 12011-11-18 - JeanNeron

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

.TEXT SET TXT MARGIN:T

This subroutine sets the top margin for the text in the "current" Text Object .


Usage:

      PASS         <top_margin>               FIELD            SHARE? N
      GOSUB    0CD .TEXT SET TXT MARGIN:T
      *        Check for error
      IF       0CD .TEXT SET TXT MARGIN:T     NE



Description:

This subroutine sets the top margin for the text in the "current" Text Object.

The parameter is optional. If specified, it must be an unsigned integer in the range 1-99999. It represents the margin in pixels. A blank will be reset to the default. By default, the left and right margins are approximately half the font width, and the top and bottom margins are approximately 1/4 of the font height.

You can also use .TEXT SET TXT MARGIN:L, .TEXT SET TXT MARGIN:R and .TEXT SET TXT MARGIN:B to set each margin or .TEXT SET TXT MARGIN to set all the margins at once.

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