ComponentOne VSView Reporting Edition
BorderStyle Property

Returns or sets the Field's border style.

Syntax

field.BorderStyle[ = BorderStyleSettings ]

Remarks

To draw a border around a field, set the following properties:

BorderColor                             To define the border color.

BorderStyle                              To define the border style (for example, solid, dashed, and so on).

LineWidth                                To define the border width (in Twips).

Valid settings for the BorderStyle property are described below:

 

Constant

Value

Description

vsrBSTransparent

0

No border.

vsrBSSolid

1

Solid border.

vsrBSDash

2

Dashed border.

vsrBSDot

3

Dotted border

vsrBSDashDot

4

Dash-dot border

vsrBSDashDotDot

5

Dash-dot-dot border.

 

NOTE: Due to a GDI limitation, dashed and dotted borders are only drawn when the LineWidth property is set to zero or one. Thicker borders are always solid.

Data Type

BorderStyleSettings (Enumeration)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback