Click or drag to resize
PDFDocumentAddPassword Method (Stream, Stream, PasswordSetting)
Add a password to a plain PDF file stream.

Namespace: RasterEdge.XDoc.PDF
Assembly: RasterEdge.XDoc.PDF (in RasterEdge.XDoc.PDF.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public static int AddPassword(
	Stream srcStream,
	Stream desStream,
	PasswordSetting passwordSetting
)

Parameters

srcStream
Type: System.IOStream
desStream
Type: System.IOStream
passwordSetting
Type: RasterEdge.XDoc.PDFPasswordSetting

Return Value

Type: Int32
See Also