XFINIUM.PDF Documentation
GetKeyValueAsBool(PdfCosName,Boolean) Method



Key to return.
Default value to return if the key does not exist.
Gets the value of the specified key as a boolean.
Syntax
'Declaration
 
Public Function GetKeyValueAsBool( _
   ByVal key As PdfCosName, _
   ByVal defaultValue As Boolean _
) As Boolean
'Usage
 
Dim instance As PdfCosDictionary
Dim key As PdfCosName
Dim defaultValue As Boolean
Dim value As Boolean
 
value = instance.GetKeyValueAsBool(key, defaultValue)
public bool GetKeyValueAsBool( 
   PdfCosName key,
   bool defaultValue
)
public:
bool GetKeyValueAsBool( 
   PdfCosName^ key,
   bool 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