TextLayer Example

Land Auto

TextLayer Example

Sub Example_TextLayer()
    
    ' This example returns the TextLayer for the first ProfileBlock
    ' in the collection
    Dim alignProf As AeccProfileBlock
    Set alignProf = AeccApplication.ActiveDocument.ProfileBlocks.Item(0)
    
    MsgBox "The TextLayer for the first ProfileBlock in the collection is: " _
         & alignProf.TextLayer, vbInformation, "TextLayer Example"
    
End Sub