True if any shared borders are in use for the WebEx or WebFile object. Read/write Variant.
expression.SharedBorders(BorderIndex)
expression Required. An expression that returns a WebEx 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. |
Shared borders, such as the constant fpBorderLeft, can be used to set individual border values.
Note The default shared border is used if a shared border is not specified.
This example sets the shared border for the active web.
Private Sub SetSharedBorders()
Dim myPage As PageWindowEx
ActiveWeb.SharedBorders(fpBorderLeft) = True
End Sub