使用 Aspose.PDF for Java 透過 Java 範例程式碼以程式方式列印 PDF 文檔...false ); // Do not produce the page number dialog when printing...Create objects for printer and page settings and PrintDocument PdfPrinterSettings...
Text element is used to add one or more lines of text to the form....children array of the template page object . Declaration Text element..."children" : [ { "element_type" : "Page" , "children" : [ { "element_type"...
Aspose.PDF for Java provides the opportunity to convert an XML file into PDF document requiring that the input XML file must follow the Aspose.PDF for Java Schema....<fo:simple-page-master master-name= "simpleA4" page-height= "29..."29.7cm" page-width= "21cm" margin-top= "2cm" margin-bottom= "2cm"...
This section explains how to create Nested Bookmarks with PdfContentEditor Class....keep track/link to specific page inside the PDF document. PdfContentEditor...PDF file, at a given page or all pages. Implementation details...
Convert HTML to SVG format in C# code. Save HTML as SVG using C#....Svg); for ( int page = 0 ; page < doc.PageCount; page++) { saveOptions...= new PageSet(page); doc.Save( $"Output_ {page + 1 } .svg" ,...
Convert PDF to GIF format in C# code. Save PDF as GIF using C#....Gif); for ( int page = 0 ; page < doc.PageCount; page++) { saveOptions...= new PageSet(page); doc.Save( $"Output_ {page + 1 } .gif" ,...
Convert a Word document to TIFF format in Java code. Save a Word document as TIFF using Java....for ( int page = 0 ; page < doc.getPageCount(); page++) { saveOptions...saveOptions.setPageSet( new PageSet (page)); doc.save(String.format( "Output_%d...
Convert TEXT to SVG format in Java code. Save TEXT as SVG using Java....for ( int page = 0 ; page < doc.getPageCount(); page++) { saveOptions...PageSet (page)); doc.save(String.format( "Output_%d.svg" , page + 1...
Convert HTML to Image format in Java code. Save HTML as Image using Java....for ( int page = 0 ; page < doc.getPageCount(); page++) { saveOptions...PageSet (page)); doc.save(String.format( "Output_%d.jpg" , page + 1...