Fabric.js Text excludeFromExport Property
In this article, we are going to see how to change the excludeFromExport of the text canvas using Fabric.js. The canvas means the text written is movable, rotatable, resizable, and can be stretched. Further, the text itself cannot be edited like a textbox.
fabric.Text(text, excludeFromExport : Boolean );
Parameters: This property accepts one parameter as mentioned above and described below:
- excludeFromExport :When it is set to ‘true’, the object is not exported in OBJECT/JSON.
Below is the example that illustrates the use of excludeFromExport property in Fabric.js: