style.setCaptionScale
setCaptionScale(scale: number): Promise<void>Set the global scale factor applied to all caption text.
Stored in StyleApi._captionScale (in-memory only — not recorded in history).
Emits "style:changed".
Not undoable (direct field write).
scale | number | Multiplier applied to the base caption font size (default: 1). |
Returns: Promise<void>
Example
await api.style.setCaptionScale(1.5);