Opacity Property
The Opacity property returns or sets the opacity. Returns a Long.
Syntax
object.Opacity
object.Opacity = Opacity
Parameter | Type | Description |
Opacity | Long | required, integer between 0 and 100 |
Example 1
This example demonstrates how to return the opacity of a font.
Debug.Print FontFormat.Opacity
Example 2
This example demonstrates how to set the opacity of a font to 25%.
FontFormat.Opacity = 25
Used by: AutoMFont object, AutoBitmap object