←Select platform

BackgroundColor Property

Summary

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

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

Leadtools.Svg Assembly