SharedBorders Property

         Example         Applies To

True if any shared borders are in use for the Web or WebFile object. Read/write Variant.

Syntax

expression.SharedBorders([BorderIndex As FpSharedBorders])

expression   Required. An expression that returns or sets a shared border on a Web or WebFile object.

BorderIndex   Optional FpSharedBorders. The border index is an enumerated type and can be one of the constants in the following table. The default constant is fpBorderTop.

FpSharedBorders Value Description
FpBorderTop 1 Sets or returns a border for the top of a page.
FpBorderLeft 2 Sets or returns a border for the left side of a page.
FpBorderRight 4 Sets or returns a border for the right side of a page.
FpBorderBottom 8 Sets or returns a border for the bottom of a page.
FpBorderAll 255 or &HFF Sets or returns borders on all sides of a page.

Remarks

Shared borders such as the constant, fpLeftBorder, can be used to set individual border values.

Note   The default shared border is used if a shared border is not specified.