API Documentation > CorelDRAW > 2025-v26 > EffectEnvelope > IVGEffectEnvelope
EffectEnvelope.CopyFromShape method
Updates the envelope container from the specified shape
Syntax:
Function CopyFromShape(ByVal Source As Shape, Optional ByVal Mode As cdrEnvelopeMode = cdrEnvelopePutty, Optional ByVal KeepLines As Boolean = False, Optional ByVal CopyMode As cdrEnvelopeCopyMode = cdrEnvelopeCenter, Optional ByVal CornerIndices As Variant) As Boolean
Parameters:
Name Type Description
Source
Mode
Specifies an envelope mode.
KeepLines
Boolean
Specifies whether to keep lines.
CopyMode
Specifies a copy mode.
CornerIndices
Variant
Remarks:
The CopyFromShape method updates the envelope container from the specified shape.