getSvgBackImageUrl Method

Summary

Gets a URL to a raster image that contains only the image elements of the SVG document for this page.

Syntax
TypeScript
JavaScript
DocumentPage.prototype.getSvgBackImageUrl = function( 
   backColor 
) 
getSvgBackImageUrl( 
   backColor: string 
): string; 

Parameters

backColor

Color to use to fill the background of the image.

Return Value

A URL to a raster image that will contain only the image elements of the SVG document for this page. If IsSvgSupported is false, a request to this URL will fail. If the SVG for this page contains no background images, a request to this URL will return a 1x1 transparent GIF image.

Remarks

For more information on this method or to load the image through the Document Library, see GetSvgBackImageElement.

This method will always return a URL to attempt loading from, even if IsSvgSupported is false.

Refer to Image Loading Using LEADTOOLS Document Library and Document Loading Using LEADTOOLS Document Library for more information.

Requirements

Target Platforms

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

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.