<< Click to Display Table of Contents >>
OverrideFillColor |
When the OverrideFillMode property is set to 2 (two) or 3 (three), this property is used to define a color to fill a picture, instead of its original color. In scripts, use VBScript's RGB method to create a color to link to this property. Default value of this property is red (RGB(255, 0, 0)). The next script contains an example of using this property.
Sub DrawPicture1_Click()
' When clicking this object sets the Override
' mode to solid and changes this picture's fill
' color to blue
OverrideFillMode = 2
OverrideFillColor = RGB(0, 0, 255)
End Sub
NOTE |
This property is only effective when a Picture object is working with Metafiles (WMF or EMF). |