Click or drag to resize

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

Note: This API is now obsolete.

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
[ObsoleteAttribute("This constructor is obsolete. Use PdfGeneratedDocument(Stream stm, SecureString userPassword, SecureString ownerPassword, bool attemptToImportForeignContent, PdfDocumentLoadedProgress pageLoaded, IEnumerable<int> pagesToLoad, GlobalResources globalResources) instead.", 
	false)]
public PdfGeneratedDocument(
	string userPassword,
	string ownerPassword,
	Stream stm,
	bool attemptToImportForeignContent,
	PdfDocumentLoadedProgress pageLoaded,
	IEnumerable<int> pagesToLoad,
	GlobalResources globalResources
)

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.
globalResources
Type: Atalasoft.PdfDoc.Generating.ResourceHandlingGlobalResources
Global resources to use for the created document.
See Also