PdfGeneratedDocument Constructor (Stream, SecureString, SecureString, Boolean, PdfDocumentLoadedProgress, Int32) |
Namespace:
Atalasoft.PdfDoc.Generating
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfGeneratedDocument(
Stream stm,
SecureString userPassword,
SecureString ownerPassword,
bool attemptToImportForeignContent,
PdfDocumentLoadedProgress pageLoaded,
params int[] pagesToLoad
)
Public Sub New (
stm As Stream,
userPassword As SecureString,
ownerPassword As SecureString,
attemptToImportForeignContent As Boolean,
pageLoaded As PdfDocumentLoadedProgress,
ParamArray pagesToLoad As Integer()
)
Parameters
- stm
- Type: System.IOStream
The stream containing the previously generated pdf. - userPassword
- Type: System.SecuritySecureString
The user password. - ownerPassword
- Type: System.SecuritySecureString
The owner password. - attemptToImportForeignContent
- Type: SystemBoolean
if set to true attempt to import PDF content not previously serialized by DotPdf. - pageLoaded
- Type: Atalasoft.PdfDocPdfDocumentLoadedProgress
A delegate that will be called when a page is loaded. This value may be null. - pagesToLoad
- Type: SystemInt32
A a set of page numbers to load.
See Also