API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.SymbolLibrary property
Returns the local symbol library of the document
Syntax:
Property Get SymbolLibrary() As SymbolLibrary
Remarks:
The SymbolLibrary property returns the local document's symbol library.
Examples:
The following VBA example displays the number of distinct symbols are currently in the document.
Sub Test()
MsgBox "The document has " & ActiveDocument.SymbolLibrary.Symbols.Count & " unique symbols." 
End Sub