<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxParameterCreationAPI_v5/addFontMenu(withName:parameterID:fontName:parameterFlags:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxParameterCreationAPI_v5(im)addFontMenuWithName:parameterID:fontName:parameterFlags:"
  },
  "title" : "addFontMenu(withName:parameterID:fontName:parameterFlags:)"
}
-->

# addFontMenu(withName:parameterID:fontName:parameterFlags:)

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)