Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

The following plugin changes the font used for latent variable names to bold italic. The Undraw and Draw methods make the changes immediately visible. The UndoToHere / UndoResume method pair allows you to undo the changes by pressing 387.

Imports Amos
Imports Amos.pd
<System.ComponentModel.Composition.Export(GetType(IPlugin))>
Public Class CustomCode
    Implements IPlugin
 
    Public Function Mainsub() As Integer Implements IPlugin.Mainsub
        Dim x As PDElement
        UndoToHere()
        For Each x In PDElements
            If x.IsLatentVariable Then
                x.Undraw()
 
                x.NameFontBold = True
 
                x.NameFontItalic = True
                x.Draw()
            End If
        Next
        UndoResume()
    End Function
 
    Public Function Name() As String Implements IPlugin.Name
    End Function
 
    Public Function Description() As String Implements IPlugin.Description
    End Function
End Class

© 2021 Amos Development Corporation