|
|
|
|
|
PicMergeLayer (Function) In french: PicFusionneCalque Merges the layers of a WDPic image. 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 details of the error.
<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> , <Index 1> , <Index 2>)
<Result>: Boolean - True if the merge was successful,
- False otherwise. If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the details of the error.
<WDPic image>: WDPic variable Name of the WDPic variable that contains the layers to merge. <Index 1>: Integer Index of first layer to merge. <Index 2>: Integer Index 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 details of the error.
<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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|