Tries to get the
GrapeCity.Documents.Pdf.PdfEnum<TEnum> value associated with the specified key. If the value does not exist or cannot be converted to an enum, returns false.
'Declaration
Public Shared Function TryGetPdfEnum(Of As {New, Struct})( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByRef As PdfEnum(Of T) _
) As System.Boolean
public static System.bool TryGetPdfEnum<>(
IPdfDict ,
PdfName ,
out PdfEnum<T>
)
where T: new(), struct
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- value
- OUT. When this method returns, contains the enum value.
Type Parameters
- T
Return Value
true if value exists; otherwise, false.