PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 25 feature!
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
Merges the layers of a WDPic image.
Example
MyImage is WDPic = sFileName
 
// Create a layer with a rectangle
NewLayer is picLayer
NewLayer..Name = "Rectangle"
NewLayer..Width = 100
NewLayer..Height = 100
dRectangle(NewLayer, 1, 1, 99, 99, DarkRed, DarkBlue)
PicMergeLayer(MyImage, 1, 2)
Syntax

Merge all layers of a WDPic image Hide the details

<Result> = PicMergeLayer(<WDPic Image>)
<Result>: Boolean
  • True if the merge was successful,
  • False otherwise. If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the error details.
<WDPic Image>: WDPic variable
Name of the WDPic variable that contains the layers to merge.

Merge two layers of a WDPic image Hide the details

<Result> = PicMergeLayer(<WDPic Image> , <Subscript 1> , <Subscript 2>)
<Result>: Boolean
  • True if the merge was successful,
  • False otherwise. If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the error details.
<WDPic Image>: WDPic variable
Name of the WDPic variable that contains the layers to merge.
<Subscript 1>: Integer
Subscript of first layer to merge.
<Subscript 2>: Integer
Subscript of second layer to merge.

Merging layers specified for a WDPic image Hide the details

<Result> = PicMergeLayer(<WDPic Image> , <Layer subscripts>)
<Result>: Boolean
  • True if the merge was successful,
  • False otherwise. If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the error details.
<WDPic Image>: WDPic variable
Name of the WDPic variable that contains the layers to merge.
<Layer subscripts>: Array of integers
Name of the array that contains the layers to merge.
Component : wd250pic.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment