Click or drag to resize

TextWidgetAnnotationDefaultRichTextStyleString Property

Gets or sets the default style string. The style string is a string that specifies the rich text style to use by default for the annotation, if using the RichTextContent property.

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public string DefaultRichTextStyleString { get; set; }

Property Value

Type: String
The default style string.
You should avoid using only the DefaultRichTextStyleString and RichTextContent properties. When using these properties, be sure to set the Contents property to a plain text equivalent. This will allow maximum compatability with older PDF viewers.
textWidgetAnnot.DefaultRichTextStyleString = "font: 12pt Helvetica";
See Also