SharedBorders Property
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 can be one of the FpSharedBorders constants. The default constant is fpBorderTop.
FpSharedBorders | Value | Description |
---|---|---|
fpBorderTop | 1 | Sets a border for the top of a page. |
fpBorderLeft | 2 | Sets a border for the left side of a page. |
fpBorderRight | 4 | Sets a border for the right side of a page. |
fpBorderBottom | 8 | Sets a border for the bottom of a page. |
fpBorderAll | 255 or &HFF | Sets borders on all sides of a page. |
Remarks
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.
Example
The following example sets the shared border for the active Web site.
Private Sub SetSharedBorders()
Dim myPage As PageWindowEx
ActiveWeb.SharedBorders(fpBorderLeft) = True
End Sub
Applies to | WebEx Object | WebFile Object