PdfGeneratedDocument Constructor (String, String, Stream, Boolean, PdfDocumentLoadedProgress, IEnumerableInt32) |
Note: This API is now obsolete.
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) instead.",
false)]
public PdfGeneratedDocument(
string userPassword,
string ownerPassword,
Stream stm,
bool attemptToImportForeignContent,
PdfDocumentLoadedProgress pageLoaded,
IEnumerable<int> pagesToLoad
)
<ObsoleteAttribute("This constructor is obsolete. Use PdfGeneratedDocument(Stream stm, SecureString userPassword, SecureString ownerPassword, bool attemptToImportForeignContent, PdfDocumentLoadedProgress pageLoaded, IEnumerable<int> pagesToLoad) instead.",
false)>
Public Sub New (
userPassword As String,
ownerPassword As String,
stm As Stream,
attemptToImportForeignContent As Boolean,
pageLoaded As PdfDocumentLoadedProgress,
pagesToLoad As IEnumerable(Of Integer)
)
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