Click or drag to resize

PdfDocumentSave Method (String, String, Stream)

Note: This API is now obsolete.

Saves a PdfDocument into a stream encrypting with the supplied passwords.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[ObsoleteAttribute("This method is obsolete. Use Save(Stream, PdfSaveOptions) instead.")]
public void Save(
	string userPassword,
	string ownerPassword,
	Stream stm
)

Parameters

userPassword
Type: SystemString
The user password to use for this document. This parameter may be null.
ownerPassword
Type: SystemString
The owner password to use for this document. This parameter may be null.
stm
Type: System.IOStream
A non-null stream to which to save the resulting document.
See Also