API Documentation > CorelDRAW > 2025-v26 > Layer > IVGLayer
Layer.PasteEx method
Pastes object(s) from the Clipboard onto the layer and returns the range of objects pasted; allows to specify additional options
Syntax:
Function PasteEx(Optional ByVal Options As StructPasteOptions = Nothing) As ShapeRange
Parameters:
Name Type Description
Options
Specifies any settings.
Remarks:
The PasteEx method places the Clipboard contents on a layer and returns the range of objects that were pasted. The optional parameter Options allows for various settings to be specified.