Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / SetRichTextNotEmpty Method
The current dictionary.
The key identifying the value.
The value to set.

In This Topic
    SetRichTextNotEmpty Method
    In This Topic
    Sets the String value representing the Rich Text associated with the specified key. If the value is null or empty removes the key from the dictionary. Note! The method converts a System.String to the PdfString. Note! The method encloses the value with PdfConsts.c_RichStringPrefix and PdfConsts.c_RichStringSuffix
    Syntax
    'Declaration
     
    Public Shared Sub SetRichTextNotEmpty( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value As System.String _
    ) 
    public static void SetRichTextNotEmpty( 
       IPdfDict dict,
       PdfName key,
       System.string value
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    The value to set.
    See Also