setdisplaymode.htm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  5. <TITLE>SetDisplayMode</TITLE>
  6. <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
  7. </HEAD>
  8. <BODY>
  9. <H2>SetDisplayMode</H2>
  10. <TT>SetDisplayMode(<B>mixed</B> zoom [, <B>string</B> layout])</TT>
  11. <H4 CLASS='st'>Version</H4>
  12. 1.2
  13. <H4 CLASS='st'>Description</H4>
  14. Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
  15. displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
  16. specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat).
  17. The page layout can be specified too: single at once, continuous display, two columns or viewer
  18. default.
  19. <BR>
  20. By default, documents use the full width mode with continuous display.
  21. <H4 CLASS='st'>Parameters</H4>
  22. <TT><U>zoom</U></TT>
  23. <BLOCKQUOTE>
  24. The zoom to use. It can be one of the following string values:
  25. <UL>
  26. <LI><TT>fullpage</TT>: displays the entire page on screen
  27. <LI><TT>fullwidth</TT>: uses maximum width of window
  28. <LI><TT>real</TT>: uses real size (equivalent to 100% zoom)
  29. <LI><TT>default</TT>: uses viewer default mode
  30. </UL>
  31. or a number indicating the zooming factor to use.
  32. </BLOCKQUOTE>
  33. <TT><U>layout</U></TT>
  34. <BLOCKQUOTE>
  35. The page layout. Possible values are:
  36. <UL>
  37. <LI><TT>single</TT>: displays one page at once
  38. <LI><TT>continuous</TT>: displays pages continuously
  39. <LI><TT>two</TT>: displays two pages on two columns
  40. <LI><TT>default</TT>: uses viewer default mode
  41. </UL>
  42. Default value is <TT>continuous</TT>.
  43. </BLOCKQUOTE>
  44. <HR STYLE="margin-top:1.2em">
  45. <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
  46. </BODY>
  47. </HTML>