|
|
|
|
- End of drawing
- Drawing in PHP
- Drawing in Browser code
<picLayer variable>.Resize (Function) In french: <Variable picCalque>.Redimensionne Resizes an image in a variable of type picLayer. MyImage is WDPic = "Test.gif" MyLayer is picLayer // Zoom image: enlarge image twice Result1 is boolean Result1 = MyLayer.Resize(MyLayer.Width * 2, MyLayer.Height * 2) IF Result1 = False THEN Error("The operation failed")
Syntax
<Result> = <picLayer image>.Resize(<New width> , <New height>)
<Result>: Boolean - True if resized successfully,
- False otherwise.
<picLayer image>: picLayer variable Name of the picLayer variable to be used. <New width>: Integer New image width expressed in pixels. <New height>: Integer New height of the image expressed in pixels.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|