FutureBasic Logo

<<    Index    >> FutureBasic

PDFView   statement

pdfview tag, rect, pdfDocRef, wndTag

The pdfview statement puts a new pdfview in the current output window, or alters an existing pdfview's characteristics.

Tlbx PDFKit.incl header.

tag A number (1 through 1000000) that you assign when you create the pdfview and that you refer to when altering the pdfview. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the view.
rect The pdfview's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the view.
(ii) A CGRect value
pdfDocRef A reference to a pdfdocument.
wndTag An optional parameter for when the pdfview's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window.

See also
Apple documentation