Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:printfile [2023/04/04 07:33] – removed - external edit (Unknown date) 127.0.0.1pr_methods:printfile [2023/05/09 01:26] (current) sean
Line 1: Line 1:
 +{{tag>Index Programmers_Reference Methods IDocumentEngine_Interface printfile}}
 +
 +====printFile ()====
 +<code java>public void printFile (File fileToPrint) 
 +throws DocumentException</code>
 +
 +This method is supposed to print the specified file. It is assumed that the provided file is of the format supported by the document type (presumably obtained by calling the ''[[pr_methods:fillwithdata|fillWithData]]'' method).
 +
 +===Parameters===
 +|''fileToPrint''|document to print|
 +===Throws===
 +the ''DocumentException'' if an error occurs.