API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.LogCreateShape method
Logs a virtual shape creation transaction so it can be undone by the user
Syntax:
Function LogCreateShape(ByVal VirtualShape As Shape) As Shape
Parameters:
Name Type Description
VirtualShape
Remarks:
The LogCreateShape method logs a shape-creation transaction so it can be undone by the user.