Object Model Reference : Classes : P : PatternFill : Properties : PatternFill.SkewAngle |
Property SkewAngle As Double
Member of PatternFill
The SkewAngle property returns or specifies the degree of slant for a pattern fill.
The following VBA example applies a brick fill pattern to a rectangle. The pattern is rotated by 30° counterclockwise and slanted by 10° to the left.
Sub Test() |
Dim s As Shape |
Dim pf As PatternFill |
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4) |
Set pf = s.Fill.ApplyPatternFill(cdrTwoColorPattern, , 4) |
pf.RotationAngle = 30 |
pf.SkewAngle = 10 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.