Table of Contents

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 Density

The density.

width double

The width in cm or inches.

height double

The height in cm or inches.

Returns

IMagickGeometry

A MagickGeometry based on the specified width and height in cm or inches.