Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / SetNameNotEmpty Method
The current PDF dictionary holder.
The key of the value to set or remove.
The value to set.

In This Topic
    SetNameNotEmpty Method
    In This Topic
    Sets or removes the PDF name value associated with a specified key.

    If the specified value is a null reference (Nothing in Visual Basic) or empty, the value is removed from the current dictionary. Otherwise the value is set.

    Syntax
    'Declaration
     
    Public Shared Sub SetNameNotEmpty( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal value As System.String _
    ) 
    public static void SetNameNotEmpty( 
       IPdfDictHolder pdh,
       System.string key,
       System.string value
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to set or remove.
    value
    The value to set.
    See Also