Gets or sets the color used for the frame lines of a paragraph.

Introduced: X14.

Syntax

public System.Drawing.Color FrameLineColor { get; set; }
Public Property FrameLineColor() As System.Drawing.Color

Examples

The following example uses the FrameLineColor property to set the color of the frame lines of a paragraph to white.

TXTextControl.ParagraphFormat format = new TXTextControl.ParagraphFormat();

format.Alignment       = TXTextControl.HorizontalAlignment.Center;
format.Frame           = TXTextControl.Frame.Box;
format.FrameLineColor  = System.Drawing.Color.White;

textControl1.Selection.ParagraphFormat = format;
Dim format As TXTextControl.ParagraphFormat = New TXTextControl.ParagraphFormat()

format.Alignment       = TXTextControl.HorizontalAlignment.Center
format.Frame           = TXTextControl.Frame.Box
format.FrameLineColor  = System.Drawing.Color.White

TextControl1.Selection.ParagraphFormat = format

Remarks

The property's default value is SystemColors.WindowText.

The property returns its default value when the text selection contains multiple paragraphs with mixed frame colors. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.