Click or drag to resize

ImageContext Constructor (String, String, String, Int32, Int32, Int32, Int32)

Creates an instance of ImageContext for cropping images

Namespace:  PrimeHolding.ImageConverter
Assembly:  PrimeHolding.ImageConverter (in PrimeHolding.ImageConverter.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ImageContext(
	string sourcePath,
	string destinationPath,
	string imageOperation,
	int x,
	int y,
	int width,
	int height
)

Parameters

sourcePath
Type: SystemString
Source path of the image
destinationPath
Type: SystemString
Destination path of the new image
imageOperation
Type: SystemString
Image operation type when manipulating image size. Valid types: Crop
x
Type: SystemInt32
X starting coordinate for the image operation
y
Type: SystemInt32
Y starting coordinate for the image operation
width
Type: SystemInt32
The width of the new image
height
Type: SystemInt32
The height of the new image
See Also