4D v13SVG_SET_VIEWBOX |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13
SVG_SET_VIEWBOX
SVG_SET_VIEWBOX
The SVG_SET_VIEWBOX command can be used to specify the viewbox of the SVG object having the svgObject reference. If this attribute already exists, its value is replaced by the value passed in the parameter. The values are expected in the user coordinate system. The optional mode parameter can be used to indicate if the graphic must be fitted, and how so, to the size of the viewbox. The value expected for mode must be one recognized by SVG: ‘none’, ‘xMinYMin’, ‘xMidYMin’, ‘xMaxYMin’, ‘xMinYMid’, ‘xMidYMid’, ‘xMaxYMid’, ‘xMinYMax’, ‘xMidYMax’, ‘xMaxYMax’ and ‘true’ (for xMidYMid). `Create an SVG document of 4x8cm |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: Composant 4D SVG v11.3 SEE ALSO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||