Gets or sets the style of the paragraph's frame.

Syntax

public FrameStyle FrameStyle { get; set; }
Public Property FrameStyle() As FrameStyle

Members

Member Description
Single The paragraph's frame is drawn with a single line.
Double The paragraph's frame is drawn with a doubled line.

Examples

The following example uses the FrameStyle property to set the style of paragraph's frame to Double. With Double as value this frame will be drawn with a doubled line.

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

format.Alignment  = TXTextControl.HorizontalAlignment.Center;
format.Frame      = TXTextControl.Frame.Box;
format.FrameStyle = TXTextControl.FrameStyle.Double;

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

format.Alignment  = TXTextControl.HorizontalAlignment.Center
format.Frame      = TXTextControl.Frame.Box
format.FrameStyle = TXTextControl.FrameStyle.Double

TextControl1.Selection.ParagraphFormat = format

Remarks

The property's default value is FrameStyle.Single.

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