[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetRichTextNotEmpty

SetRichTextNotEmpty Method

SetRichTextNotEmpty(IPdfDict, PdfName, string)

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 string to the PdfString. Note! The method encloses the value with PdfConsts.c_RichStringPrefix and PdfConsts.c_RichStringSuffix

Declaration
public static void SetRichTextNotEmpty(this IPdfDict dict, PdfName key, string value)
Public Shared Sub SetRichTextNotEmpty(dict As IPdfDict, key As PdfName, value As String)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

string value

The value to set.