{oapdf_gg}
the result can only be the next to see a new page (when the page initialization method call), sample code, see code 0107, you must be prepared to name a watermark.jpg picture, as Figure :
u reader parameters: you can approach through the following PDF files for the specified number of readers (such as Adobe Reader) parameters: public void setViewerPreferences (int preferences) sample code in 0108, specify the following parameters: writerA.setViewerPreferences (PdfWriter.PageLayoutTwoColumnLeft); writerB.setViewerPreferences (PdfWriter.HideMenubar | PdfWriter.HideToolbar); writerC.setViewerPreferences (PdfWriter.PageLayoutTwoColumnLeft | PdfWriter.PageModeFullScreen | PdfWriter.NonFullScreenPageModeUseThumbs); As you can see, the parameters can use the following constants: l file was opened, the page layout used in one of the following:
l file is open, the page model used the following one:
l PdfWriter. HideToolbar - activated when the document, the reader is hidden (such as Adobe Reader) Article tools l PdfWriter. HideMenubar - activated when the document, whether or not to hide the menu reader. l PdfWriter. HideWindowUI - activated when the document when the reader to hide interface elements, such as scroll bars, navigation, etc., but simply to retain documents show l PdfWriter. FitWindow - whether or not to adjust the document display window size to fit the first page. l PdfWriter.CenterWindow - whether or not the center of the screen into the document window l in full-screen mode, specify how to display interface elements (choose a)
Description:You can only call PdfWriter in the category of these methods. |