Previous Document Next Document

Object Model Reference : Classes : S : SnapPoints : Properties : SnapPoints.Count


SnapPoints.Count

Property Count As Long

Description

Member of SnapPoints

The Count property returns the total number of snap points in a SnapPoints collection.

The Count property returns a read-only value.

VBA example

The following VBA example creates a rectangle with rounded corners and displays the number of snap points available for this type of shape.

Sub Test()
 Dim s As Shape
 Set s = ActiveLayer.CreateRectangle2(0, 0, 2, 2, 0.5, 0.5, 0.5, 0.5)
 MsgBox s.SnapPoints.Count
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.