Class DensityExtensions
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Extension methods for the ImageMagick.Density class.
public static class DensityExtensions
- Inheritance
-
DensityExtensions
- Inherited Members
Methods
ToGeometry(Density, double, double)
Returns a MagickGeometry based on the specified width and height.
public static IMagickGeometry? ToGeometry(this Density self, double width, double height)
Parameters
self
DensityThe density.
width
doubleThe width in cm or inches.
height
doubleThe height in cm or inches.
Returns
- IMagickGeometry
A MagickGeometry based on the specified width and height in cm or inches.