public HPDF_STATUS textRect(
    float left, 
    float top, 
    float right, 
    float bottom, 
    string text, 
    HaruTextAlignment align_, 
    uint* len)

Prints the text inside the specified region.

Parameters

, top, right, bottom = Coordinates of corners of the region to output text. text = The text to show. align = The alignment of the text (one of the following). len = If not NULL, the number of characters printed in the area is returned.

Graphics Mode

Before and after - GMode.textObject.