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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public string DefaultRichTextStyleString { get; set; }

Property Value

Type: String
The default style string.
Remarks
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.
Examples
textWidgetAnnot.DefaultRichTextStyleString = "font: 12pt Helvetica";
See Also