B! command description


Description: This command creates an image frame (a polygon or a composition of polygons) in a page of a document. The box may be placed in absolute, relative or anchored in an existing box.


Syntax: [ B! =  Block#  ;  HPos  ;  VPos  ;  Width  ;  Height  ;  NbPaths  ;  NbPointsN  ;  IsClosedN  ;  XPosNLeftAnchorK  ;  VPosNLeftAnchorK  ;  XPosNMiddleAnchorK  ;  VPosNMiddleAnchorK  ;  XPosNRightAnchorK  ;  VPosNRightAnchorK  ;  "FileName"  ;  HorOffset  ;  VerOffset  ;  HorScale  ;  VerScale  ;  BackColor  ;  BackTint  ;  Angle  ;  CornerRadius  ;  Type  ;  Anchored  ;  AnchorBlock  ;  Relative  ;  Reference  ;  Alignment  ;  AnchorCell (InDesign only)    ]


Block#
Integer
Reference of the new image frame
     
HPos
Picas/Points
Horizontal position of the frame
     
VPos
Picas/Points
Vertical position of the frame
     
Width
Picas/Points
  Not used
     
Height
Picas/Points
  Not used
     
NbPaths
Integer
  Number of polygons in the frame
     
NbPointsN
Integer
  Number of points in the Nth polygone of the frame
     
IsClosedN
Boolean
  TRUE if the Nth path is closed, FALSE if it's open
     
XPosNLeftAnchorK
Points/tenths
Horizontale position of the Kth left anchor point of the Nth polygon
     
VPosNLeftAnchorK
Points/tenths
Vertical position of the Kth left anchor point of the Nth polygon
     
XPosNMiddleAnchorK
Points/tenths
Horizontal position of the Kth middle anchor point of the Nth polygon
     
VPosNMiddleAnchorK
Points/tenths
Vertical position of the Kth middle anchor point of the Nth polygon
     
XPosNRightAnchorK
Points/tenths
Horizontal position of the Kth right anchor point of the Nth polygon
     
VPosNRightAnchorK
Points/tenths
Vertical position of the Kth right anchor point of the Nth polygon
     
"FileName"
String
  Name of the image file to import. If empty, no import is done.
     
HorOffset
Picas/Points
 
     
VerOffset
Picas/Points
 
     
HorScale
Percent
 
     
VerScale
Percent
 
     
BackColor
Integer
 
     
BackTint
Percent
 
     
Angle
Integer
 
     
CornerRadius
Points/tenths
 
     
Type
Integer
 
     
Anchored
Boolean
 
     
AnchorBlock
Integer
 
     
Relative
Boolean
 
     
Reference
Integer
 
     
Alignment
Integer
 
     
AnchorCell (InDesign only)
Boolean
 
     


Note: See [BI] command for parameter description, since they are identical from "FileName".


Example:


See also:


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.