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
- selfDensity
- The density. 
- widthdouble
- The width in cm or inches. 
- heightdouble
- The height in cm or inches. 
Returns
- IMagickGeometry
- A MagickGeometry based on the specified width and height in cm or inches.