Previous Document Next Document

Object Model Reference : Classes : P : PatternFill : Properties : PatternFill.SkewAngle


PatternFill.SkewAngle

Property SkewAngle As Double

Description

Member of PatternFill

The SkewAngle property returns or specifies the degree of slant for a pattern fill.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.