Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (42 loc) · 1.27 KB

image-backthemecolorindex-property-access.md

File metadata and controls

68 lines (42 loc) · 1.27 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Image.BackThemeColorIndex Property (Access)
vbaac10.chm14631
vbaac10.chm14631
access
Access.Image.BackThemeColorIndex
9b15a086-0ff4-3ffb-4828-c22486bfc8c5
06/08/2017

Image.BackThemeColorIndex Property (Access)

Gets or sets a value that represents a color in the applied color theme associated with the BackColor property of the specified object. Read/write Long.

Syntax

expression. BackThemeColorIndex

expression A variable that represents an Image object.

Remarks

The BackThemeColorIndex property contains one of the index values listed in the following table.

Index Value Description
0 Text 1
1 Background 1
2 Text 2
3 Background 2
4 Accent 1
5 Accent 2
6 Accent 3
7 Accent 4
8 Accent 5
9 Accent 6
10 Hyperlink
11 Followed Hyperlink
If no theme is applied, the BackThemeColorIndex property contains -1.

This property is not surfaced in the property sheet.

Example

The following code example sets the Background Color to the Text 2 color by setting the BackThemeColorIndex property.

Me.FormHeader.BackThemeColorIndex=2

See also

Concepts

Image Object