![]() |
![]() |
Layer.CreateSpiral
Function CreateSpiral(Left As Double, Top As Double, Right As Double, Bottom As Double, NumRevolutions As Long, SpiralType As cdrSpiralType, GrowthRate As Long) As Shape
Member of Layer
The CreateSpiral method creates a spiral.
Parameters
|
Description
|
Left
|
Specifies the distance from the left side of the spiral to the left side of the page frame. The coordinate is measured in document units.
|
Top
|
Specifies the distance from the top of the spiral to the top of the page frame. The coordinate is measured in document units.
|
Right
|
Specifies the distance from the right side of the spiral to the right side of the page frame. The coordinate is measured in document units.
|
Bottom
|
Specifies the distance from the bottom of the spiral to the bottom of the page frame. The coordinate is measured in document units.
|
NumRevolutions
|
Specifies the number of revolutions in the spiral.
|
SpiralType
|
Specifies the type of spiral you create. This value returns cdrSpiralType.
|
GrowthRate
|
Specifies the factor to increase the distance between revolutions in a logarithmic spiral. Values range from 1 to 100.
|
The following code example creates a logarithmic spiral on the active layer. The spiral has four revolutions with a growth factor of 100 within each revolution.
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.