Class DensityExtensions
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q8-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
selfDensityThe density.
widthdoubleThe width in cm or inches.
heightdoubleThe height in cm or inches.
Returns
- IMagickGeometry
A MagickGeometry based on the specified width and height in cm or inches.