←Select platform

BackgroundColor Property

Summary

Gets or sets the background color to be used when rasterizing vector image files.

Syntax
C#
VB
Java
C++
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.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly