Foreground object
The Foreground object holds HTML captions to be shown on the layer's foreground. The Background object holds pictures to be shown on the layer's background. The Foreground property of the Layer access the layer's Foreground object. The layer's foreground can be visible or selectable. If not selectable, the user can not select it runtime, such as LayerFromPoint property ignores it. The Layer's foreground can display unlimited HTML captions of different sizes and positions. 

The following screen shot shows all layer's background with a semi-transparent color, to highlight the layer's foreground:

The Foreground object supports the following properties and methods:

NameDescription
CaptionSpecifies the caption on the layer.
ColorSpecifies the layer's foreground color.
ExtraCaptionSpecifies any extra caption on the layer.
SelectableReturns or sets a value that indicates whether all objects on the layer's foreground are selectable.
VisibleSpecifies if the objects of the layer's foreground are shown or hidden.