×

Create Images From Text

iOS 14 +

Notes

Turn text into images. You can input rich text files and use the embedded formatting or you can edit the style of plain text.

Syntax

createTextImage(inputType: <#Enumeration (TextInputType)#>, richText: <#Variable#>, text: <#Array#>, font: <#String (Allows Variables)#>, fontSize: <#Integer#>, textColour: <#String (Allows Variables)#>, alignment: <#Enumeration (TextAlignment)#>, backgroundColour: <#String (Allows Variables)#>, transparentBG: <#Boolean#>, autoSize: <#Boolean#>, width: <#Integer#>, height: <#Integer#>, paddingLeft: <#Integer#>, paddingRight: <#Integer#>, paddingTop: <#Integer#>, paddingBottom: <#Integer#>, scaleToFit: <#Boolean#>, lineLimit: <#Boolean#>, lineCount: <#Integer#>, addShadow: <#Boolean#>, shadowColour: <#String (Allows Variables)#>, xOffset: <#Integer#>, yOffset: <#Integer#>, lineBreak: <#Enumeration (LineBreakMode)#>)

Example

createTextImage(inputType: PlainText, richText: , text: "Hello World", font: ""Arial"", fontSize: 32, textColour: ""#ffffff"", alignment: centre, backgroundColour: ""#000000"", transparentBG: false, autoSize: true, width: , height: , paddingLeft: , paddingRight: , paddingTop: , paddingBottom: , scaleToFit: , lineLimit: , lineCount: , addShadow: , shadowColour: "", xOffset: , yOffset: , lineBreak: )