Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (27 loc) · 1.22 KB

documents-itemfromid-property-visio.md

File metadata and controls

49 lines (27 loc) · 1.22 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Documents.ItemFromID Property (Visio)
vis_sdr.chm10613775
vis_sdr.chm10613775
visio
Visio.Documents.ItemFromID
8cc27fe2-96ac-5935-a8d0-33afdfc09fc7
06/08/2017

Documents.ItemFromID Property (Visio)

Returns an item of a collection using the ID of the item. Read-only.

Syntax

expression . ItemFromID( nID )

expression A variable that represents a Documents collection.

Parameters

Name Required/Optional Data Type Description
nID Required Long The ID of the object to retrieve.

Return Value

Document

Remarks

The ID of a Shape object uniquely identifies the shape within its page or master.

The ID of a Style object uniquely identifies the style within its document.

The ID of a Font object corresponds to the number stored in the Font cell of a row in a shape's Character Properties section. The ID associated with a particular font varies between systems or as fonts are installed on and removed from a given system.

The ID of an Event object uniquely identifies an event in its EventList collection for the life of the collection.