VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Document Namespace / AutoTextInvertCommand Class / TextColor Property
Syntax Remarks Requirements SeeAlso
In This Topic
TextColor Property (AutoTextInvertCommand)
In This Topic
Gets or sets a color for filling of inverted text.
Syntax
'Declaration

<DefaultValueAttribute(System.Drawing.Color, "255, 0, 0, 0")>
<DescriptionAttribute("A color for filling of inverted text.")>
Public Property TextColor As System.Drawing.Color

[DefaultValue(System.Drawing.Color, "255, 0, 0, 0")]
[Description("A color for filling of inverted text.")]
public System.Drawing.Color TextColor { get; set; }

Property Value

Default value is System.Drawing.Color.Black.
Remarks

Value of this property is valid only if source image is not a black-white image (image.PixelFormat != PixelFormat.BlackWhite). For images with PixelFormat == PixelFormat.BlackWhite, the inverted text will always become black.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also