←Select platform

BackgroundColor Property

Summary
Gets or sets the background color to be used when rasterizing vector image files.
Syntax
C#
VB
C++
Java
public RasterColor BackgroundColor { get; set; } 
Public Property BackgroundColor As RasterColor 
public RasterColor getBackgroundColor() 
public void setBackgroundColor(RasterColor backgroundColor) 
public: 
property RasterColor BackgroundColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

Property Value

The background color to be used when rasterizing vector image files.

Remarks

If the vector image file being rasterized does not specify a background color, the value of this property will be used to fill the resulting raster image during rasterization.

You can override the value specified in the vector image file by setting ForceBackgroundColor to true.

Example

For an example, refer to CodecsVectorLoadOptions.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.