Appearance
TallComponents.UnoPdf.Client
TallComponents.UnoPdf.Client.Models.Pdf.Shapes
SvgShapeModel Class
A shape containing a svg image.
csharp
public class SvgShapeModel : TallComponents.UnoPdf.Client.Models.Pdf.Shapes.ShapeModel
Inheritance System.Object 🡒 ShapeModel 🡒 SvgShapeModel
Remarks
In XML you can specify the svg image data as regular xml data.
Properties | |
---|---|
FontPath | Relative or absolute path to the folder containing fonts. Leave empty to use the system font folder. (default = empty) |
Height | The height of the svg image. |
KeepAspectRatio | If KeepAspectRatio is set to true, the height is calculated from the width so that the width/height ratio is equal to the ratio of the original svg image. If set to false, the specified width and height are used and the svg image will in general appear distorted. |
Path | Relative or absolute path of svg image file. |
ViewBox | Get the view port specified on the root SVG element(can be null/nothing). |
ViewPortHeight | Get the view port height specified on the root SVG element. |
ViewPortWidth | Get the view port width specified on the root SVG element. |
Width | The width of the svg image. |