Click or drag to resize

BorderRemovalCommandGetBorder Method

Calculates the border of the image that is used in the BorderRemovalCommand to remove the borders.

Namespace:  Atalasoft.Imaging.ImageProcessing.Document
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public Rectangle GetBorder(
	AtalaImage sourceImage
)

Parameters

sourceImage
Type: Atalasoft.ImagingAtalaImage
The image to calculate the borders from.

Return Value

Type: Rectangle
A rectangle containing the position, and size of the image with the borders removed.
Exceptions
ExceptionCondition
Thrown if the sourceImage is null (Nothing in VB).
Remarks
Use this method to calculate the borders of an image, without actually removing them.
See Also