Previous Document Next Document

Object Model Reference : Classes : E : EffectEnvelope : Methods : EffectEnvelope.Select


EffectEnvelope.Select

Sub Select(PresetIndex As Long)

Description

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.