Hi All,
I have an requirement, where I will have a string data obtained from DB. The length of string data may vary randomly.
Now, I am working on Win form which will display this string data based on following conditions:
- Data will be wrapped if it exceeds the width of Label.
- Wrapping of data will be for only 2 lines.
I know, how to wrap the label, but I want to know how I would limit the wrapping uptill 2 lines. If it exeeds 2 lines also then it should get trimmed.
Plzz, help me.
TIA :)
Supriya