diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 498dfcea24..fe5823c83c 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -69090,6 +69090,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor: string; @@ -74308,6 +74312,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: string; @@ -75430,6 +75438,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: string; @@ -76990,6 +77002,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: boolean; diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 403e649f55..7cb6b8e2cc 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -52444,6 +52444,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor: string; @@ -57258,6 +57262,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: string; @@ -58392,6 +58400,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: string; @@ -60106,6 +60118,10 @@ declare namespace Word { * * Gets or sets the highlight color. To set it, use a value either in the '#RRGGBB' format or the color name. To remove highlight color, set it to null. The returned highlight color can be in the '#RRGGBB' format, an empty string for mixed highlight colors, or null for no highlight color. * + * **Note**: Only the default highlight colors are available in Office for Windows Desktop. + * These are "Yellow", "Lime", "Turquoise", "Pink", "Blue", "Red", "DarkBlue", "Teal", "Green", "Purple", "DarkRed", "Olive", "Gray", "LightGray", and "Black". + * When the add-in runs in Office for Windows Desktop, any other color is converted to the closest color when applied to the font. + * * [Api set: WordApi 1.1] */ highlightColor?: boolean;