←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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly