4D v14SVG_SET_VIEWPORT_FILL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_SET_VIEWPORT_FILL
SVG_SET_VIEWPORT_FILL
The SVG_SET_VIEWPORT_FILL command can be used to set the background color of an SVG document having the svgObject reference. If this attribute already exists, its value is replaced by the value passed as parameter. If svgObject is an SVG element that does not accept this attribute, an error is generated. The optional color parameter indicates the color to be used for the picture background. If this parameter is omitted or contains an empty string, white will be used. For more information about colors, please refer to the SVG Colors section. The optional opacity parameter can be used to specify the value of the percentage of opacity to be applied to this fill. If this parameter is omitted or if no opacity has been specified for the document, the value 100% is used. |
PROPERTIES
Product: 4D
HISTORY
Created: Composant 4D SVG v11.3 SEE ALSO ARTICLE USAGE
4D SVG Component ( 4D v13) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||