Image.BorderTint property (Access)
Gets or sets the tint that is applied to the theme color in the BorderColor property of the specified object. Read/write Single.
expression A variable that represents an Image object.
The BorderTint property contains a numeric expression that can be used to lighten the theme color in the BorderColor property. The default value of the BorderTint property is 100, which is neutral, and does not change the theme color.
To lighten the color, first determine the percentage by which to lighten from 1 to 100, and then subtract that value as a whole number from 100 and use the remainder. For example, to lighten the theme color by 75%, subtract 75 from 100 and use the remainder, which is 25.
This property is not surfaced in the property sheet.
The following code example lightens the BorderColor property by 75%.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.