Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.21 KB

Visio.Font.Application.md

File metadata and controls

52 lines (31 loc) · 1.21 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Font.Application property (Visio)
vis_sdr.chm12013090
vis_sdr.chm12013090
Visio.Font.Application
69b10981-d415-56f1-a401-a77cd6e02021
06/08/2017
medium

Font.Application property (Visio)

Returns the instance of Microsoft Visio that is associated with an object. Read-only.

Syntax

expression.Application

expression A variable that represents a Font object.

Return value

Application

Example

The following Microsoft Visual Basic for Applications (VBA) macro gets the Application object associated with the active document and prints its process ID number in the Immediate window.

 
Public Sub Application_Example() 
 
 Dim vsoApplication As Visio.Application 
 Dim vsoDocument As Visio.Document 
 
 Set vsoDocument = ActiveDocument 
 
 'Get the instance of Visio associated with the Document object. 
 Set vsoApplication = vsoDocument.Application 
 Debug.Print "The process ID of the Application object associated with the active document is: " & vsoApplication.ProcessID 
 
End Sub

[!includeSupport and feedback]