SVGRasterizer Reference
E.g. SVGRasterizer.aspx?url=http://www.bing.com/logo.SVG&outline=fill:#ffffff;opacity:0.5
Input
Parameter name | Type | Description |
---|---|---|
url | String | (Required) URL of the SVG. |
mimeType | Alphabetic string | The output image format. Only PNG is supported for now. Default: PNG. |
width | Positive integer | Renders the image using the given pixel width. |
height | Positive integer | Renders the image using the given pixel height. |
sizeRatio | Positive decimal | The scale multiplier for the image. Can be used in place of with/height. Default is 1.0. |
useRef | Boolean | If true, uses the reference point of an SVG as the center of the raster image. Default: false. |