Object Model Reference : Classes : E : EffectEnvelope : Methods : EffectEnvelope.Select |
Sub Select(PresetIndex As Long)
Member of EffectEnvelope
The Select method chooses a given envelope preset.
Parameter
|
Description
|
PresetIndex
|
Specifies an index number that uniquely identifies a preset envelope effect
|
The following VBA example places a text object in a heart-shaped envelope.
Sub Test() |
Dim s As Shape, eff As Effect |
Set s = ActiveLayer.CreateArtisticText(2.75, 5, "Text") |
With s.Text.FontProperties |
.Name = "Arial Black" |
.Size = 150 |
End With |
Set eff = s.CreateEnvelope(1) |
eff.Envelope.Select 12 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.