|
This sample when placed inline and formatted will create a frame of 80 x 30mm positioned at 50mm down 70mm accross with the frame name "Simple_1". The generated text stream will have margins of 5mm all round.
<?frame clear>
|
1
|
<?frame size 80mm, 30mm>
|
2
|
<?frame position 50mm, 70mm>
|
3
|
<?frame raw name "Simple_1">
|
4
|
<?frame text 4, "body", "strm","1"," 99">
|
5
|
<?frame text-margins 5,5,5,5>
|
6
|
<?frame add-to-page>
|
7
|
-
4
- Always clear any preexisting frame properties that may be in memory, otherwise they could get applied to the frame that you are creating.
-
6
- The size of your frame.
-
8
- The position of your frame.
-
10
- Give the frame a name. This is because frames are always referred to by name if they require modification (the frame number is never used). This is also useful because of the way auto frames are handled internally - the name is required to uniquely identify a frame. This is particularly important for the autocopy feature, and for killing frames.
-
12
- The generated text stream will have margins of 5mm all round.
-
14
- Always add to page (this actually adds the frame to the page).
|