←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 Leadtools.RasterColor BackgroundColor {get; set;}
Public Property BackgroundColor As Leadtools.RasterColor
@property (nonatomic, copy) LTRasterColor *backgroundColor
public RasterColor getBackgroundColor() 
public void setBackgroundColor(RasterColor color) 
public: 
property Leadtools.RasterColor BackgroundColor { 
   Leadtools.RasterColor get(); 
   void set (    Leadtools.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Svg Assembly
Click or drag to resize