Contents

addFontMenu(withName:parameterID:fontName:parameterFlags:)

Creates a font menu button parameter and adds it to the plug-in’s parameter.

Declaration

func addFontMenu(withName name: String, parameterID: UInt32, fontName: String, parameterFlags flags: FxParameterFlags) -> Bool

Parameters

  • name:

    Name of the parameter in the user interface.

  • parameterID:

    Unique identifier for a parameter. Used to retrieve, set, or validate the parameter.

  • fontName:

    Font name

  • flags:

    Flags that encode various state values for the parameter.

Return Value

Returns YES if the application successfully creates a font parameter; NO otherwise.

See Also

Instance Methods