XFINIUM.PDF Documentation
GetKeyValueAsNumber Method



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