> home > Custom Layer Boundary API

text_layout_get_buffer

September 8th 2024
Get the buffer of a layout object

Signature

C++
Buffer_ID
text_layout_get_buffer(Application_Links* app,
                       Text_Layout_ID text_layout_id);

Parameters

app

the standard custom layer context pointer

text_layout_id

the id of the text layout object

Return

on success, when the text layout object exists, the id of the buffer used to create the object, otherwise zero