Search Locate Previous Next Contents

nlPushFrame – define temporary frame

This allows a new frame to be defined on the fly anywhere within the page area. All output created with Place, Flow, Include etc. will be targeted into this frame until you revert to the underlying page with PopFrame.

The argument may be a simple vector of (x,y,width,height) in points, or a frame definition with the 5th element being a 2-column matrix of property-value pairs. All dimensions are relative to the paper, not to the previous frame.

nlPushFrame 4½100    © posn, size, w,h (x,y)
nlFlow'hello world in a pushed frame'
nlPushFrame(400 600)(120 80)(2 2½'Shadow' 1 'Gutter' 6)

There is no limit on the depth of the frame stack.



Continue to: nlQuery – check property settings
© Copyright Causeway Graphical Systems Ltd 2001