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

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > Border > Style

Style Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns the border's line style.

To set the line style for a specific part of the border get the BorderPart object for the desired part of the border.

Style is a read / write property.



Examples:

[csharp]
// Get LineStyle
Border.LineStyle ls = b.LineStyle;

// Set LineStyle
b.LineStyle = Border.LineStyle.Thick;
[vbnet]
' Get LineStyle
Dim ls As Border.LineStyle = b.LineStyle

' Set LineStyle
b.LineStyle = Border.LineStyle.Thick


Getter

Signature:

public Border.LineStyle Style

Returns:

Border.LineStyle A Border.LineStyle value.

Setter

Signature:

public void Style Border.LineStyle style

Type:

Border.LineStyle



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.