Click or drag to resize

PdfGeneratedDocument Constructor (Stream, SecureString, SecureString, Boolean, PdfDocumentLoadedProgress, RepairOptions)

Initializes a new instance of the PdfGeneratedDocument class.

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,
	RepairOptions repairOptions
)

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.
repairOptions
Type: Atalasoft.PdfDoc.RepairRepairOptions
An object that will determine how foreign content will be repaired on being read. May be null.
See Also