ForeOpacity Property

The ForeOpacity property returns or sets the ForeOpacity. Returns a Long.

Syntax

object.ForeOpacity

object.ForeOpacity = ForeOpacity

 

Parameter Type Description
ForeOpacity Long required, integer between 0 and 255

 

Example 1

This example demonstrates how to return the opacity of a font.

Debug.Print FontFormat.ForeOpacity

Example 2

This example demonstrates how to set the ForeOpacity of a font to 25%.

FontFormat.ForeOpacity = 64

 

Used by: AutoFill object, AutoLine object