PDFView4NET WinForms Edition
SetCustomKey Method




O2S.Components.PDFView4NET Namespace > PDFDocumentInformation Class : SetCustomKey Method
The custom key to set.
The value for custom key.
Sets a custom key/value pair in the document information.
Syntax
'Declaration
 
Public Sub SetCustomKey( _
   ByVal key As String, _
   ByVal value As String _
) 
'Usage
 
Dim instance As PDFDocumentInformation
Dim key As String
Dim value As String
 
instance.SetCustomKey(key, value)
public void SetCustomKey( 
   string key,
   string value
)
public: void SetCustomKey( 
   string* key,
   string* value
) 
public:
void SetCustomKey( 
   String^ key,
   String^ value
) 

Parameters

key
The custom key to set.
value
The value for custom key.
Exceptions
ExceptionDescription
Thrown when key is null or an empty string.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFDocumentInformation Class
PDFDocumentInformation Members