Tao.DevIl SDK Documentation

Ilu.iluEnlargeCanvas Method 

iluEnlargeCanvas enlarges the canvas of the current image, clearing the background to the colour specified in ilClearColour. To control the placement of the image, use iluImageParameter

[Visual Basic]
Public Shared Function iluEnlargeCanvas( _
   ByVal Width As Integer, _
   ByVal Height As Integer, _
   ByVal Depth As Integer _
) As Boolean
[C#]
public static bool iluEnlargeCanvas(
   int Width,
   int Height,
   int Depth
);

Parameters

Width
New image width - must be larger than the current image's width.
Height
New image height - must be larger than the current image's width.
Depth
New image depth - must be larger than the current image's width.

Return Value

See Also

Ilu Class | Tao.DevIl Namespace