| |

VerySource

 Forgot password?
 Register
Search
View: 852|Reply: 3

Canvas cannot increase carriage return and line feed, what should I do? Thank you

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-21 11:40:01
| Show all posts |Read mode
Canvas-> TextOutA (10,10, "First line\n\r second line");
Do not show
first row
second line

Show only "first line second line"
Reply

Use magic Report

0

Threads

22

Posts

14.00

Credits

Newbie

Rank: 1

Credits
14.00

 China

Post time: 2020-1-30 22:18:01
| Show all posts
It should be\r\n, but it may not work.

Judge for yourself
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-30 23:36:01
| Show all posts
Use API function DrawText
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-31 09:36:01
| Show all posts
Thank youtest62, it's done, thank you
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list