[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IHyperlink.EmailSubject

EmailSubject Property

Gets or sets the subject of the specified e-mail hyperlink.

Use this property to store and retrieve the subject associated with a mailto: hyperlink.

If the subject contains spaces or reserved URI characters, encode it as a URI component before assigning it to this property.

Declaration
string EmailSubject { get; set; }
Property EmailSubject As String
IRange cell = worksheet.Range["A1"];
IHyperlink hyperlink = cell.Hyperlinks.Add(cell, "mailto:us.sales@mescius.com");
hyperlink.EmailSubject = "Product%20Inquiry";
string subject = hyperlink.EmailSubject;