OverrideLineColor

<< Click to Display Table of Contents >>

 

OverrideLineColor

Color When the EnableOverrideLineColor property is set to True, this property is used to define a color to use as a picture's line, 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()
  OverrideLineColor = RGB(0, 0, 255)
End Sub

 

NOTE

This property is only effective when a Picture object is working with Metafiles (WMF or EMF).

Was this page useful?