In This Topic
Sets the nullable
GrapeCity.Documents.Pdf.PdfEnum<TEnum> value associated with the specified key. If the value is null or is equal to , removes the key from the dictionary. Note! The method converts a
GrapeCity.Documents.Pdf.PdfEnum<TEnum> to the
PdfName.
Syntax
'Declaration
Public Shared Sub SetPdfEnum(Of As {New, Struct})( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByVal As System.Nullable(Of PdfEnum(Of T)), _
ByVal As System.Nullable(Of T) _
)
public static void SetPdfEnum<>(
IPdfDict ,
PdfName ,
System.Nullable<PdfEnum<T>> ,
System.Nullable<T>
)
where T: new(), struct
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- value
- The value to set.
- defValue
- The default value.
Type Parameters
- T
See Also