VintaSoft Imaging .NET SDK 14.0: 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; }
    
    
    [DefaultValue(System.Drawing.Color, "255, 0, 0, 0")]
    [Description("A color for filling of inverted text.")]
    public: __property System.Drawing.Color* get_TextColor();
    public: __property void set_TextColor(
    System.Drawing.Color* value
    );
    [DefaultValue(System.Drawing.Color, "255, 0, 0, 0")]
    [Description("A color for filling of inverted text.")]
    public:
    property System.Drawing.Color^ TextColor { System.Drawing.Color^ get(); void set(System.Drawing.Color^ value); }

    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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also