InputData Property
The input PDF data.
Syntax
Default Value
""
Remarks
This property specifies the input PDF data to be processed. When this property is used it is not necessary to call the Load method.
Note: It is recommended to provide PDF data as a byte array rather than as a string.
Example:
pdfxml.InputDataB = File.ReadAllBytes("C:\input.pdf"); pdfxml.AddAttachment("C:\attachmentfile.txt"); pdfxml.OutputFile = "C:\output.pdf"; pdfxml.Save();
Input Properties
The component will determine the source of the input based on which properties are set.
The order in which the input properties are checked is as follows:
- SetInputStream
- InputFile
- InputData