Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class SlidePdfExport
- Object
- SlidePdfExport
PDF export: one page per visible slide, at the slide’s size in points, drawn by
SlideRenderer with a painter over com.codename1.pdf.PdfCanvas. Text is real PDF text
laid out with PdfMeasurer and drawn by PdfExport.drawItems, so it is selectable and
breaks exactly as a document’s does.Methods
public static PdfDocument toPdf(Presentation p) | The presentation as a PDF document, one page per visible slide, for adding pages or metadata before saving. |
Inherited methods
Method details
toPdf
public static PdfDocument toPdf(Presentation p)The presentation as a PDF document, one page per visible slide, for adding pages or
metadata before saving.
Parameters
pPresentation- the presentation
Returns
the document