'Declaration Public Shared Function TryGetPdfEnum(Of TEnum As {New, Struct})( _ ByVal pdh As IPdfDictHolder, _ ByVal key As System.String, _ ByRef value As PdfEnum(Of TEnum) _ ) As System.Boolean
public static System.bool TryGetPdfEnum<TEnum>( IPdfDictHolder pdh, System.string key, out PdfEnum<TEnum> value ) where TEnum: new(), struct
Parameters
- pdh
- The current PDF dictionary holder.
- key
- The key of the value to get.
- value
- OUT: the value associated with the specified key.
Type Parameters
- TEnum
Return Value
True if the key was found and the value could be converted to GrapeCity.Documents.Pdf.PdfEnum<TEnum>, false otherwise.