Error processing SSI file
LEADTOOLS Svg (Leadtools.Svg assembly)

Show in webframe

BackgroundColor Property






Gets or sets the color used to fill the background of the transformed destination rectangle.
Syntax
public RasterColor BackgroundColor {get; set;}
'Declaration
 
Public Property BackgroundColor As RasterColor
'Usage
 
Dim instance As SvgRenderOptions
Dim value As RasterColor
 
instance.BackgroundColor = value
 
value = instance.BackgroundColor
@property (nonatomic, copy) LTRasterColor *backgroundColor
public RasterColor getBackgroundColor()
public void setBackgroundColor(RasterColor color)
            
public:
property RasterColor BackgroundColor {
   RasterColor get();
   void set (    RasterColor value);
}

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

See Also

Reference

SvgRenderOptions Class
SvgRenderOptions Members

Error processing SSI file
  Leadtools.Svg requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features