Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| 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.
Definition
Visual Basic .NET Public Property SupportHighContrastInk As Boolean C# public bool SupportHighContrastInk { get; set; } Managed C++ public: __property bool* get_SupportHighContrastInk(); 
public: __property void set_SupportHighContrastInk(bool*);
Property Value
System.Boolean. Whether ink is rendered as just one color when the system is in High Contrast mode.
This property is read/write.
trueDefault. All collected ink is rendered as Color = System.Drawing.SystemColors.WindowText .
falseInk is rendered in the color in which it was originally collected. 
Exceptions
Remarks
This property changes the way ink renders when the system changes to High Contrast mode.
Real-time ink application uses the SystemColors.WindowText
property 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 of the DefaultDrawingAttributes property of the InkPicture object is set to Color.Blue
, the WindowText
property is set to Color.White
, and the system is in High Contrast mode, then a newly drawn stroke appears white but the actual stroke color is still Blue
if queried. For more information about this behavior, see the DrawingAttributes.Color property.
Examples
[C#]
This C# example sets the SupportHighContrastInk property of an InkPicture control, theInkPicture, to false so that ink is always drawn in the color it is collected.
theInkPicture.SupportHighContrastInk = false;[VB.NET]
This Microsoft® Visual Basic® .NET example sets the SupportHighContrastInk property of an InkPicture control, theInkPicture, to false so that ink is always drawn in the color it is collected.
theInkPicture.SupportHighContrastInk = False
See Also