Exposed PageText.renderText to API level through IInternalMethodHandler.