←Select platform

BackgroundColor Property

Summary

Color to use to fill the background area.

Syntax

C#
VB
C++
public Color BackgroundColor { get; set; } 
Public Property BackgroundColor() As System.Drawing.Color 
   Get 
   Set 
public:  
   property System::Drawing::Color^ BackgroundColor 
   { 
      System::Drawing::Color^ get() 
      void set(System::Drawing::Color^ value) 
   } 

Property Value

The color to use to fill the background area. Default value is "Transparent".

Remarks

The default value of "Transparent" will instruct RenderRedirect to not erase the background of the target control during rendering. Otherwise, set this value to the desired color. For more information, refer to Image Viewer Rendering.

Example

For an example, refer to RenderRedirect.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly