Difference: CDTextSetBoxCornerType (1 vs. 2)

Revision 22012-02-22 - JeanNeron

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

.TEXT SET BX CNR STYLE

This subroutine sets the corner style of the "current" text object.

Revision 12011-11-17 - JeanNeron

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

.TEXT SET BX CNR STYLE

This subroutine sets the corner style of the "current" text object.


Usage:

      PASS         <corner_style>             FIELD            SHARE? N
      GOSUB    0CD .TEXT SET BX CNR STYLE
      *        Check for error
      IF       0CD .TEXT SET BX CNR STYLE     NE

Description:

This subroutine sets or resets the corner style of the "current" text object. spec. Every text object is contained in a box. This allows you to set the corner style of the text box.The <corner_style> value specifies the desired style.

The <corner_style> parameter is optional. If specified, it must be one of the following values: Square, Squared, Round or Rounded.

If you set a <corner_style>, you must also call either .TEXT SET BX EDGE CLR to set an edge color or .TEXT SET BX BG CLR to set a background color, otherwise your corners will not be visible (they will be the same color as your background).

If a <corner_style> parameter is not received or if the value received is blank, then the corner style of the text object is cleared and the default corner style will be rendered.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-17

 
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