Previous Document Next Document

Object Model Reference : Classes : N : NodeRange : Methods : NodeRange.Skew


NodeRange.Skew

Sub Skew([AngleX As Double], [AngleY As Double], [UseAnchorPoint As Boolean = False], [SkewAnchorX As Double], [SkewAnchorY As Double])

Description

Member of NodeRange

The Skew property skews the nodes in a node range as though the node range were a separate shape object.

Parameter
Description
AngleX
Specifies the degree to which to horizontally slant the node range. This parameter is optional, and its default value is 0.
AngleY
Specifies the degree to which to vertically slant the node range. This parameter is optional, and its default value is 0.
UseAnchorPoint
Specifies whether to use an anchor point. This parameter is optional, and its default value is False.
SkewAnchorX
Specifies, in document units, the x-coordinate of the anchor point when skewing the node range. This parameter is optional, and its default value is 0.
SkewAnchorY
Specifies, in document units, the y-coordinate of the anchor point when skewing the node range. This parameter is optional, and its default value is 0.

VBA example

The following VBA example skews the node range in the active shape horizontally and vertically by 25°. A reference point is not set, but the anchor point is set at (0, 0).

Sub Test()
 Dim nr as NodeRange
 Set nr = ActiveShape.Curve.Nodes.All
 With nr
  .Skew 25, 25, False, 0, 0
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.