API Documentation > CorelDRAW > 2025-v26 > EffectBlend > IVGEffectBlend
EffectBlend.MapNodes property
Gets or sets whether or not the nodes are mapped
Syntax:
Property Get MapNodes() As Boolean
Property Let MapNodes(ByVal Value As Boolean)
Remarks:
The MapNodes property returns or specifies whether the nodes are mapped for a blend. The starting and ending mapped nodes determine how the intermediate objects are transformed from the start shape to become the end shape.
Examples:
The following VBA example creates a blend between a circle and a polygon and specifies the key nodes on the two shapes that the blend uses as starting points of the shapes.
Sub Test()
Dim s1 As Shape, s2 As Shape, eff As Effect
Set s1 = ActiveLayer.CreateEllipse2(2, 9, 1)
Set s2 = ActiveLayer.CreatePolygon(4, 3, 6, 5, 5)
s1.Fill.UniformColor.RGBAssign 255, 0, 0
s2.Fill.UniformColor.RGBAssign 255, 255, 0
Set eff = s1.CreateBlend(s2)
With eff.Blend
  .MapNodes = True
  .StartPoint = s1.SnapPoints.Edge(4, 0)
  .EndPoint = s2.SnapPoints.Edge(1, 0)
End With 
End Sub