Xceed Words for .NET v3.0 Documentation
InsertHorizontalLine(HorizontalBorderPosition,BorderStyle,Int32,Int32,Nullable<Color>) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Paragraph Class > InsertHorizontalLine Method : InsertHorizontalLine(HorizontalBorderPosition,BorderStyle,Int32,Int32,Nullable<Color>) Method
The position of the horizontal line within the Paragraph. By default, Bottom.
The type of line. By default, Tcbs_single.
The size of the line. By default, 6 points.
The space of the line. By default, 1 point.
The color of the line. By default, "auto".
Inserts a horizontal line to this Paragraph.
Syntax
'Declaration
 
Public Overloads Sub InsertHorizontalLine( _

   Optional ByVal position As HorizontalBorderPosition, _

   Optional ByVal lineType As BorderStyle, _

   Optional ByVal size As Integer, _

   Optional ByVal space As Integer, _

   Optional ByVal color As Nullable(Of Color) _

) 
'Usage
 
Dim instance As Paragraph

Dim position As HorizontalBorderPosition

Dim lineType As BorderStyle

Dim size As Integer

Dim space As Integer

Dim color As Nullable(Of Color)

 

instance.InsertHorizontalLine(position, lineType, size, space, color)
public void InsertHorizontalLine( 

   HorizontalBorderPosition position,

   BorderStyle lineType,

   int size,

   int space,

   Nullable<Color> color

)

Parameters

position
The position of the horizontal line within the Paragraph. By default, Bottom.
lineType
The type of line. By default, Tcbs_single.
size
The size of the line. By default, 6 points.
space
The space of the line. By default, 1 point.
color
The color of the line. By default, "auto".
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Paragraph Class
Paragraph Members
Overload List