Previous Document Next Document

Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.RotationAngle


TextureFill.RotationAngle

Property RotationAngle As Double

Description

Member of TextureFill

The RotationAngle property returns or specifies the angle of rotation of the tile in a texture-pattern fill.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.