XFINIUM.PDF Documentation
GetKeyValueAsString(PdfCosName,String) Method



Key to return.
Default value to return if the key does not exist.
Gets the value of the specified key as a string.
Syntax
public string GetKeyValueAsString( 
   PdfCosName key,
   string defaultValue
)
public:
String^ GetKeyValueAsString( 
   PdfCosName^ key,
   String^ defaultValue
) 
'Declaration
 
Public Function GetKeyValueAsString( _
   ByVal key As PdfCosName, _
   ByVal defaultValue As String _
) As String
 
'Usage
 
Dim instance As PdfCosDictionary
Dim key As PdfCosName
Dim defaultValue As String
Dim value As String
 
value = instance.GetKeyValueAsString(key, defaultValue)

Parameters

key
Key to return.
defaultValue
Default value to return if the key does not exist.

Return Value

The key value
Requirements

Supported .NET Platforms: .NET 2.0 - .NET 4.6, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Windows Phone 8 & 8.1, Xamarin iOS & Android, Portable Class Library


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfCosDictionary Class
PdfCosDictionary Members

Send Feedback