IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

Load Method

Loads the PDF.

Syntax

public fun load()

Remarks

This method loads a PDF document from InputFile or the stream specified by SetInputStream. The Attachment event will fire for each attachment found.

After loading a PDF document XML attachments can be parsed by calling the ParseAttachment method.

Example:

pdfxml.InputFile = "C:\input.pdf";
pdfxml.Load();
pdfxml.AddAttachment("C:\attachmentfile.txt");
pdfxml.OutputFile = "C:\output.pdf";
pdfxml.Save();

Input and Output Properties

The component will determine the source and destination of the input and output based on which properties are set.

The order in which the input properties are checked is as follows:

When a valid source is found the search stops. The order in which the output properties are checked is as follows:

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 7941]