VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Document Namespace / AutoTextInvertCommand Class / BackgroundColor Property
Syntax Remarks Requirements SeeAlso
In This Topic
    BackgroundColor Property (AutoTextInvertCommand)
    In This Topic
    Gets or sets a color for filling of inverted text block background.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(System.Drawing.Color, "255, 255, 255, 255")>
    <DescriptionAttribute("A color for filling of inverted text block background.")>
    Public Property BackgroundColor As System.Drawing.Color
    
    
    [DefaultValue(System.Drawing.Color, "255, 255, 255, 255")]
    [Description("A color for filling of inverted text block background.")]
    public System.Drawing.Color BackgroundColor { get; set; }
    
    
    [DefaultValue(System.Drawing.Color, "255, 255, 255, 255")]
    [Description("A color for filling of inverted text block background.")]
    public: __property System.Drawing.Color* get_BackgroundColor();
    public: __property void set_BackgroundColor(
    System.Drawing.Color* value
    );
    [DefaultValue(System.Drawing.Color, "255, 255, 255, 255")]
    [Description("A color for filling of inverted text block background.")]
    public:
    property System.Drawing.Color^ BackgroundColor { System.Drawing.Color^ get(); void set(System.Drawing.Color^ value); }

    Property Value

    Default value is System.Drawing.Color.White.
    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 text of inverted blocks will always become white.

    Requirements

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

    See Also