property Layer.Foreground as Foreground
Gets access to the layer's foreground object.

TypeDescription
Foreground A Foreground object that holds the HTML captions to be shown on the layer's foreground.
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 Layer's foreground can display unlimited HTML captions of different sizes and positions. The Caption property specifies the caption on the layer. The ExtraCaption property assigns a new HTML caption on the layer's foreground. The Color property specifies the layer's foreground color.

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