←Select platform

BackgroundColor Property

Summary

Gets or sets the color used to fill the background of the transformed destination rectangle.

Syntax
C#
VB
Objective-C
C++
Java
public RasterColor BackgroundColor { get; set; } 
Public Property BackgroundColor As RasterColor 
@property (nonatomic, copy) LTRasterColor *backgroundColor 
public RasterColor getBackgroundColor() 
public void setBackgroundColor(RasterColor color) 
public: 
property RasterColor BackgroundColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

Property Value

The color used to the fill the background of the transformed destination rectangle. The default value is "white".

Remarks

SVG documents do not have a background color. Use this property to fill the SvgRenderOptions.Bounds (final transformation applied) with a color. Will only be used if UseBackgroundColor is true.

Example

For an example, refer to SvgDocument.Render.

Requirements

Target Platforms

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

Leadtools.Svg Assembly