'Declaration Public Function ResizeCanvas( _
ByVal canvasWidthWidth of the image canvas.As Integer, _
ByVal canvasHeightHeight of the image canvas.As Integer, _
ByVal canvasColorColor of the image canvas.As Vintasoft.Sane.ImageProcessing.SaneBorderColor, _
ByVal imageXPositionX position of the original image within new image.As Integer, _
ByVal imageYPositionY position of the original image within new image.As Integer _
) As Boolean
public bool ResizeCanvas(
int canvasWidth,
int canvasHeight,
Vintasoft.Sane.ImageProcessing.SaneBorderColor canvasColor,
int imageXPosition,
int imageYPosition
)
public: bool ResizeCanvas(
int canvasWidth,
int canvasHeight,
Vintasoft.Sane.ImageProcessing.SaneBorderColor canvasColor,
int imageXPosition,
int imageYPosition
)
public:
bool ResizeCanvas(
int canvasWidth,
int canvasHeight,
Vintasoft.Sane.ImageProcessing.SaneBorderColor canvasColor,
int imageXPosition,
int imageYPosition
)
Parameters
- canvasWidth
 - Width of the image canvas.
 - canvasHeight
 - Height of the image canvas.
 - canvasColor
 - Color of the image canvas.
 - imageXPosition
 - X position of the original image within new image.
 - imageYPosition
 - Y position of the original image within new image.
 
Return Value
true if the image canvas is changed; false if the image canvas is not changed.