[]
        
(Showing Draft Content)

IPdfSvgDrawSettings Interface

IPdfSvgDrawSettings Interface

Represents the settings used by PdfPageArea.drawSvg method to draw a SVG image.

Heirarchy

Properties

Optional align

Determines the horizontal alignment in case of proportional stretching.

Optional height

height: number

Determines the height of the image, in points.

Optional stretchProportionally

stretchProportionally: boolean

Indicates whether an image will be stretched proportionally or not, if both width and height options are provided.

Optional urlResolver

urlResolver: Object

Determines a callback function used to convert a relative URL to a URL that is correct for the current request path. The function gets passed the relative URL as its argument and should return the resolved URL.

Optional vAlign

Determines the vertical alignment in case of proportional stretching.

Optional width

width: number

Determines the width of the image, in points.