|
|
|
|
- End of drawing
- Pattern and PHP
- Drawing in Browser code
dResize (Function) In french: dRedimensionne // Zoom on the IMG_Image1 control: the size of the image displayed in the control is doubled Result1 is boolean Result1 = dResize(IMG_Image1, IMG_Image1.Width * 2, IMG_Image1.Height * 2) IF Result1 = False THEN Error("The operation failed")
Syntax
<Result> = dResize(<Image> , <New width> , <New height>)
<Result>: Boolean - True if resized successfully,
- False otherwise.
<Image>: Control name, Image variable or picLayer variable Image to use. The image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
This type of variable is not available. - the name of a variable of type picLayer.
<New width>: Integer New image width expressed in pixels. <New height>: Integer New height of the image expressed in pixels. Remarks End of drawing If dEndDrawing and dResize are called in the same process, the image changes will not be displayed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|