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

Leadtools.Svg Assembly

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