Object Model Reference : Classes : S : Shape : Methods : Shape.CreateEnvelopeFromCurve |
Function CreateEnvelopeFromCurve(Source As Curve, [Mode As cdrEnvelopeMode = cdrEnvelopePutty], [KeepLines As Boolean = False], [CopyMode As cdrEnvelopeCopyMode = cdrEnvelopeCenter], [CornerIndices]) As Effect
Member of Shape
The CreateEnvelopeFromCurve method creates an envelope by using the specified curve as a template.
Parameter
|
Description
|
Source
|
Specifies the source
|
Mode
|
Specifies the type of mapping mode for the envelope, and returns cdrEnvelopeMode. This parameter is optional, and its default value is cdrEnvelopePutty (2).
|
KeepLines
|
Specifies whether the envelope keeps its lines straight or converts them to curves. If the KeepLines property is set to True, the envelope keeps its lines straight. This parameter is optional, and its default value is False.
|
CopyMode
|
Specifies the copy mode, and returns cdrEnvelopeCopyMode. This parameter is optional, and its default value is cdrEnvelopeCenter
|
CornerIndices
|
Specifies the corner indices. This parameter is optional.
|
Copyright 2013 Corel Corporation. All rights reserved.