InkPicture.SupportHighContrastInk property
Gets or sets a value that specifies whether ink is rendered as just one color when the system is in High Contrast mode.
This property is read/write.
Syntax
HRESULT put_SupportHighContrastInk(
[in] VARIANT_BOOL Support
);
HRESULT get_SupportHighContrastInk(
[out, retval] VARIANT_BOOL *Support
);
Property value
VARIANT_TRUE to render all drawn ink in high contrast when the system is in High Contrast mode. VARIANT_FALSE to ignore changes to the system's High Contrast mode and to draw the ink normally. The default value is VARIANT_TRUE.
Error codes
| Name | Meaning |
|---|---|
|
Success. |
|
The parameter in the getter is an invalid pointer. |
|
An exception occurred while processing. |
|
The parameter in the setter is invalid. |
Remarks
This property changes the way ink renders when the system changes to High Contrast mode.
Real-time ink application uses the COLOR_WINDOWTEXT color when the system is in High Contrast mode and the SupportHighContrastInk property is TRUE, but the inherent color of a stroke made under these conditions remains unchanged. For example, if the Color property is set to RGB(0,0,255) (blue), the COLOR_WINDOWTEXT color is set to RGB(255,255,255) (white), and the system is in High Contrast mode, then a newly drawn stroke renders in white but the actual stroke color is still blue. For more information about this behavior, see the Color property and the GetSysColor function.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also
- InkPicture
- Color Property
- DefaultDrawingAttributes Property
- SupportHighContrastSelectionUI Property [InkPicture Control]