Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > ParagraphFormatting > Border

Border Property


C# Signature:

VB.NET Signature:


Description:

Returns an Border object on which you can manipulate the border properties of a paragraph for a specified location. Valid Border locations are: Top, Left, Bottom, Right, Between, and Bar. Bar and Between are less obvious locations and they are explained below.

Between refers to a border to place between conforming paragraphs. Two paragraphs conform when both have borders, their brcLeft and brcRight matches, their widths are the same, they both belong to tables or both do not, and have the same AbsolutePositioning settings.

Bar refers to a border to be displayed on outside of text when facing pages are displayed.

MS Word equivalent: Format menu > Borders and Shading... > Borders tab

Border is a read only property.



Examples:

[csharp]
oParagraphFormatting.get_Border(Border.Location.Top).LineStyle = Border.LineStyle.Double;
[vbnet]
oParagraphFormatting.Border(Border.Location.Top).LineStyle = Border.LineStyle.Double


Getter

Signature:

public Border Border

Parameters:

Border.Location location

Returns:

Border An Border object on which you can manipulate the border properties of a paragraph at the given location.



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.