The type of the Density property has been changed from MagickGeometry to a Nullable<PointD>. My old example no longer works.
You could determine the size by looking at the viewBox/width/height properties of the svg document. And then you could calculate the best suitable density if you know the size of the image you want to create.
You could determine the size by looking at the viewBox/width/height properties of the svg document. And then you could calculate the best suitable density if you know the size of the image you want to create.