Cyotek Forums

Source Code => Source Code => Topic started by: Deer2014 on March 12, 2021, 12:45:11 PM

Title: Text on Image
Post by: Deer2014 on March 12, 2021, 12:45:11 PM
Hi,

Is it possible to place more than one text in an image, in different positions, with font and font size?
Can I rotate the text around its own center by different degrees?

[attachment id=0 msg=1209]
Title: Re: Text on Image
Post by: Richard Moss on March 15, 2021, 08:10:54 AM
Hello,

The control currently only natively supports a single label, however if you create a control that inherits from ImageBox you could call the built in DrawLabel method yourself. See https://github.com/cyotek/Cyotek.Windows.Forms.ImageBox/issues/28 for a quick overview of different options, I don't have a demonstration sample available.

Regards;
Richard Moss
Title: Re: Text on Image
Post by: Deer2014 on March 15, 2021, 11:52:24 AM
Thank you Richard.