Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Gets the count of shape data items (custom properties) assigned to the specified shape in Microsoft Visio Viewer. Read-only.
Syntax
expression.CustomPropertyCount (ShapeIndex)
expression An expression that returns a Viewer object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| ShapeIndex | Required | Long | The index of the shape that contains the shape data (custom properties). |
Return value
Long
Remarks
In versions of Visio prior to Microsoft Office Visio 2007, shape data items were called custom properties.
Example
The following code gets the count of shape data items assigned to the first shape in the collection of shapes on the current page in Visio Viewer.
Dim intShapeData As Integer
intShapeData = vsoViewer.CustomPropertyCount(1)
Debug.Print intShapeData
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.