Click or drag to resize

PdfGeneratedDocument Constructor (String, String, Stream, Boolean, PdfDocumentLoadedProgress, IEnumerableInt32)

Initializes a new instance of the PdfGeneratedDocument class.

Namespace:  Atalasoft.PdfDoc.Generating
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PdfGeneratedDocument(
	string userPassword,
	string ownerPassword,
	Stream stm,
	bool attemptToImportForeignContent,
	PdfDocumentLoadedProgress pageLoaded,
	IEnumerable<int> pagesToLoad
)

Parameters

userPassword
Type: SystemString
The user password.
ownerPassword
Type: SystemString
The owner password.
stm
Type: System.IOStream
The stream containing the previously generated pdf.
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: System.Collections.GenericIEnumerableInt32
A a set of page numbers to load.
See Also