How to set values for InsertTextParams
Posted: Sat Jul 25, 2015 7:17 am
I see that InsertText is deprecated and we should use the new method, but I don't know how to set the values for InsertTextParams and whether or not the fields in the struct have default values (ie do they all need to be explicitly set).
Can anyone show me an example of how to properly invoke the new method using InsertTextParams? Thanks.// The following method is deprecated, but remains for older scripts.
// Use the new void InsertText(int32 lineOffset, InsertTextParams *textParams) method instead
void InsertText(const char *text, const char *font, bool fill, bool stroke, bool groupTogether, bool centerH, int32 lineOffset);