PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

New WINDEV, WEBDEV 25 feature!
  • End of drawing
  • Drawing in PHP
  • Drawing in Browser code
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Resizes an image in an picLayer variable.
Versions 17 and later
WEBDEV - Server code This function is now available for WEBDEV sites in Linux.
New in version 17
WEBDEV - Server code This function is now available for WEBDEV sites in Linux.
WEBDEV - Server code This function is now available for WEBDEV sites in Linux.
Example
MyWDPicImage is WDPic = "Test.gif"
MyLayer is picLayer
 
// Zoom layer: enlarge displayed image twice
Result1 is boolean
Result1 = MyLayer.Resize(IMG_Image1..Width * 2, IMG_Image1..Height * 2)
IF Result1 = False THEN Error("The operation failed")
Syntax
<Result> = <picLayer image>.Resize(<New width> , <New height>)
<Result>: Boolean
  • True if the resize operation was performed,
  • False otherwise.
<picLayer image>: picLayer variable
Name of the picLayer variable to use.
<New width>: Integer
New image width expressed in pixels.
<New height>: Integer
New height of the image expressed in pixels.
Remarks

End of drawing

The transformation of the image will not be displayed if <picLayer variable>.EndDrawing and <picLayer variable>.Resize are called in the same process.
Component : wd250pnt.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment