Constructor.

Namespace: MonoSoftware.Core.Drawing
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public ImageFormatterEventArgs(
	bool useSuppliedSize,
	bool maintainAspectRatio,
	Image image,
	int width,
	int height,
	ImageFormat imageFormat,
	InterpolationMode interpolationMode,
	SmoothingMode smoothingMode,
	PixelOffsetMode pixelOffsetMode,
	CompositingQuality compositingQuality
)
Visual Basic
Public Sub New ( 
	useSuppliedSize As Boolean,
	maintainAspectRatio As Boolean,
	image As Image,
	width As Integer,
	height As Integer,
	imageFormat As ImageFormat,
	interpolationMode As InterpolationMode,
	smoothingMode As SmoothingMode,
	pixelOffsetMode As PixelOffsetMode,
	compositingQuality As CompositingQuality
)
Visual C++
public:
ImageFormatterEventArgs(
	bool useSuppliedSize, 
	bool maintainAspectRatio, 
	Image^ image, 
	int width, 
	int height, 
	ImageFormat^ imageFormat, 
	InterpolationMode interpolationMode, 
	SmoothingMode smoothingMode, 
	PixelOffsetMode pixelOffsetMode, 
	CompositingQuality compositingQuality
)
F#
new : 
        useSuppliedSize : bool * 
        maintainAspectRatio : bool * 
        image : Image * 
        width : int * 
        height : int * 
        imageFormat : ImageFormat * 
        interpolationMode : InterpolationMode * 
        smoothingMode : SmoothingMode * 
        pixelOffsetMode : PixelOffsetMode * 
        compositingQuality : CompositingQuality -> ImageFormatterEventArgs

Parameters

useSuppliedSize
Type: System..::..Boolean
Use supplied size. False: Image W/H is used; True: Supplied W/H is used
maintainAspectRatio
Type: System..::..Boolean
Maintain aspect ratio
image
Type: System.Drawing..::..Image
Source image
width
Type: System..::..Int32
Width
height
Type: System..::..Int32
Height
imageFormat
Type: System.Drawing.Imaging..::..ImageFormat
Image format
interpolationMode
Type: System.Drawing.Drawing2D..::..InterpolationMode
Interpolation mode
smoothingMode
Type: System.Drawing.Drawing2D..::..SmoothingMode
Smoothing mode
pixelOffsetMode
Type: System.Drawing.Drawing2D..::..PixelOffsetMode
Pixel offset mode
compositingQuality
Type: System.Drawing.Drawing2D..::..CompositingQuality
Compositing quality

See Also