Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.RotationAngle |
Property RotationAngle As Double
Member of TextureFill
The RotationAngle property returns or specifies the angle of rotation of the tile in a texture-pattern fill.
The following VBA example creates a texture pattern that is rotated by 45° and skewed by 10°.
Sub Test() |
Dim s As Shape |
Dim tf As TextureFill |
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4) |
Set tf = s.Fill.ApplyTextureFill("Scribbles") |
tf.SetProperties 14430, 5, 90 |
tf.RotationAngle = 45 |
tf.SkewAngle = 10 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.