GetFormattedText_2

 

Description

Reformats a simple formatted text from TEXT annotations, and returns with a base64 image containing the text. This API call is used when editing Text annotation.

Method Type

POST

URL

api/annotation/text2

Parameters

Name

Type

Description

Text

String

HTML formatted text.

Width

Int

Width of the text area.

Height

Int

Height of the text area.

FontColor

String

The color of the font in HEX color format, for example: #FFFFFF

FontSize

Int

The size of the font.

FontFace

String

The name of the font face.

Rotation

Int

The rotation angle of the annotation.

HAlign

Int

Horizontal align.

 

 

 

Response Type

JSON (JsonResult)

Return values

{

base64 (HTML String)

}

 

Programming notes

None

 

Example

None

 

Requirements