Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [GmagickDraw

Protect Your Website Today

PHP Manual || GmagickDraw

(PECL gmagick >= Unknown)

GmagickDraw::settextencodingSpecifies the text code set


public GmagickDraw::settextencoding ( string $encoding ) : GmagickDraw

Specifies the code set to use for text annotations. The only character encoding which may be specified at this time is "UTF-8" for representing Unicode as a sequence of bytes. Specify an empty string to set text encoding to the system's default. Successful text annotation using Unicode may require fonts designed to support Unicode.



Character string specifying text encoding

Return Values

The GmagickDraw object on success

PHP Manual || GmagickDraw