GetRichText

Form.GetRichText method

Obtenir la valeur d’un champ de texte enrichi, y compris les informations de formatage de chaque caractère.

public string GetRichText(string fieldName)
ParamètreTaperLa description
fieldNameStringLe nom de champ complet du champ de texte enrichi.

Return_Value

Renvoie une chaîne contenant les informations de mise en forme du champ de texte enrichi.

Exemples

Form form = new Form("PdfForm.pdf");
Console.WriteLine(form.GetRichText("txtDescriptionRTF"));

Voir également