Can someone please tell me what makes fabric.IText
different from fabric.Text
? Any demo I can look at? Official Fabric tutorial only describes Text and I see no difference with usage in official IText demo.
In Text: You can set any style (like fill,textBackgroundColor,fontSize...etc) , it will be applied to "whole text".
But in IText: You can set styles to "any number of characters(you selected)" from your text and it will be applied to the selected part of text only.
For selecting characters from Itext you can use :
Create selection: click/touch & drag, Select word: double click and Select line: triple click
or, follow IText docs
and try again IText Examples
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With