Table of Contents

Method CreateImageHandler

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

CreateImageHandler(ImageSet, SizeI)

Creates IImageHandler for the specified ImageSet and image size.

IImageHandler CreateImageHandler(ImageSet imageSet, SizeI size)

Parameters

imageSet ImageSet

Image set.

size SizeI

Image size.

Returns

IImageHandler

CreateImageHandler()

Creates IImageHandler provider.

IImageHandler CreateImageHandler()

Returns

IImageHandler

CreateImageHandler(GenericImage, int)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(GenericImage genericImage, int depth = -1)

Parameters

genericImage GenericImage

Source image used to get pixel data.

depth int

Image depth.

Returns

IImageHandler

CreateImageHandler(int, int, Graphics)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(int width, int height, Graphics dc)

Parameters

width int

Image width.

height int

Image height.

dc Graphics

Drawing context to get dpi from.

Returns

IImageHandler

CreateImageHandler(ImageSet, IControl)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(ImageSet imageSet, IControl control)

Parameters

imageSet ImageSet

Image set.

control IControl

Control to get dpi from.

Returns

IImageHandler

CreateImageHandler(GenericImage, Graphics)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(GenericImage genericImage, Graphics dc)

Parameters

genericImage GenericImage

Source image used to get pixel data.

dc Graphics

Drawing context to get dpi from.

Returns

IImageHandler

CreateImageHandler(Image)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(Image image)

Parameters

image Image

Source image used to get pixel data.

Returns

IImageHandler

CreateImageHandler(Image, SizeI)

Creates IImageHandler provider using the specified parameters.

IImageHandler CreateImageHandler(Image original, SizeI newSize)

Parameters

original Image

Source image used to get pixel data.

newSize SizeI

Image size.

Returns

IImageHandler

CreateImageHandler(SizeI, int)

Creates IImageHandler provider using the specified image size and depth.

IImageHandler CreateImageHandler(SizeI size, int depth = 32)

Parameters

size SizeI

Image size.

depth int

Image depth.

Returns

IImageHandler