FD command description


Description: This command creates a rule in a page of the document. The type, width and color of the rule may be defined directly in the command.


Syntax: [ FD =  Block#  ;  HPos1  ;  VPos2  ;  HPos2  ;  VPos2  ;  RuleWidth  ;  Type  ;  RuleColor  ;  RuleTint  ;  Relative  ;  Ref  ;  Alignment  ;  ArrowType  ;  Angle  ;  StrokeAlignment    ]


Block#
Integer
Line Number (1000-1990).
     
HPos1
Picas/Points
Horizontal position of first point
     
VPos2
Picas/Points
Vertical position of first point
     
HPos2
Picas/Points
Horizontal position of second point
     
VPos2
Picas/Points
Vertical position of second point
     
RuleWidth
Points/Tenths
Rule width
     
Type
Integer
  Line type. 0-> plain 1-> dashed 2-> thin-thin 3-> thick-thick 4-> line-dash 5-> dotted 6-> thin-thick 7-> thick-thin 8-> thin-thick-thin 9-> thick-thin-thick 10-> triple
     
RuleColor
  Color of the rule. 0->White, 1->Blue, 2->Cyan, 3->Yellow, 4->Magenta, 5->Black, 6->Registration, 7->Red, 8->Green. 9->None If the value is >= 10, PageMakeUp will use the internal color table. (see [dc] command).
     
RuleTint
Percent
  Line Tint (0-100%)
     
Relative
Boolean
  TRUE = Parameter Ref is a block number. In this case, the coordinates are relatives to the block. FALSE = Parameter Ref is the number of the page iin which the line will be created. The coordinates are relative to the page.
     
Ref
Integer
  Number of the page in which the line will be created (1-128). 0 = current page. (relative = FALSE) Number of the reference block -1 = current block. (relative = TRUE)
     
Alignment
  In relative mode, this option allows the alignment on the bottom of the reference block instead of the top of the border or at the current cursor position. 0-> top of the block 1-> bottom of the bloc 2-> current cursor position
     
ArrowType
  Type of the arrows at the ends of the line. 0-> none 1-> right 2-> left 3-> pen right 4-> pen left 5-> double arrow
     
Angle
Points/tenths
  Version Quark seulement
     
StrokeAlignment
Integer
  Stroke alignment : 0 -> center 1 -> inside 2 -> outside
     


Note: The parameter "ArrowType" is unavailable in the Adobe PageMaker version.


Example: [fd = 2; 3; 2,5; 10; 0; 1; 100; TRUE; 4] Create a plain blue rule with a tint of 100%. The rule is related on block 4. It is 2 cm from the left left side and 3 cm from top of block 4. The rule is 2,5 points wide and 10 cm from left to right. [fd=1; ... ; false ; 0] Diagonal line, absolute position, current page. [fd=2; ... ; false; 3] Diagonal line, absolute position, page #3 [fd=3; ... ; true; 0] Diagonal line, position relative to block#0 [fd=4; ... ; true; 3; true] Diagonal line, position relative to the bottom of bloc #3 [fd=5; ... ; true, -1] Diagonal line, position relative to the current bloc


See also: [fv] Vertical Rule, [fh] Horizontal Rule, [bn] New Text Bloc


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.