TX Text Control .NET for Windows Forms Documentation

ParagraphFormat.Frame Property

Gets or sets a frame around the paragraph.

Syntax

[C#] public Frame Frame { get; set; }
[Visual Basic] Public Property Frame() As Frame
ValueDescription
NoneThe paragraph has no frame.
LeftLineThe paragraph has a left frame line.
RightLineThe paragraph has a right frame line.
TopLineThe paragraph has a frame line at the top.
BottomLineThe paragraph has frame line at the bottom.
BoxThe paragraph has a complete frame.
MergedBoxThe paragraph has a complete frame. If the following or the previous paragraph also has a frame, the frames are merged to a single frame.

Remarks

The property's default value is Frame.None.

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

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now