Namespace: iTextSharp.text.rtf.document
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public bool SetProtection(
	int level,
	string pwd
)
Visual Basic
Public Function SetProtection ( _
	level As Integer, _
	pwd As String _
) As Boolean
Visual C++
public:
bool SetProtection(
	int level, 
	String^ pwd
)

Parameters

level
Type: System..::..Int32
pwd
Type: System..::..String

See Also