IE command description


Description: This command allow to import and place a snippet (inds file) in a document.


Syntax: [ IE =  SnippetName  ;  XPos  ;  YPos  ;  Relative  ;  Ref  ;  Alignment    ]


SnippetName
String
Absolute path of the snippet file.
     
XPos
Picas/Points
Horizontal position of the topleftmost point of the snippet.
     
YPos
Picas/Points
Horizontal position of the topleftmost point of the snippet.
     
Relative
Boolean
  This parameter indicates if the new block is to be created relatively to an existing block or in absolute position in a page. TRUE= The new block is relative to an existing block. The block number is given in the "Ref" parameter and can be: -1= current block 0= startup block FALSE= The new block is placed in absolute in the page whose number is given in the "Ref" parameter.
     
Ref
Integer
  This parameter could have 2 meanings depending on the "Relative" flag. If "Relative = TRUE" then the "Ref" parameter is a block id on which to align the new block (-1= current block). If "Relative = FALSE", then the "Ref" parameter is a page number (0=current page).
     
Alignment
Integer
  When creating a block in relative mode "Relative=TRUE", then this parameter allows you to indicate on which point you whish to align the new block. 0= Top of existing block. 1= Bottom of existing block. 2= From the position of the text cursor.
     


Note: In order to be able to use snippet'elements in the TCL code following the IE call, they must have been referenced (by programmation or manually) before.


Example:


See also:


The • sign indicates a mandatory parameter

 

 

©1993-2008 Trias.
All rights reserved.