Skip to content

How to drawString with text space of pixel? #14542

@ljzj2

Description

@ljzj2

I am using winform .net 10 (or 9)
how to use the Grahpics to Draw a text with pixels space?

for example I am drawing :welcome and then I will scale the bitmap to max and the check the pixel among each char

Image above picture demonstrates there is no pixel among the char. Image and this picuture . there is 3 pixels between `w` and `l` can I set the pixel number and then I will get the bitmap that has the pixels between chars?

I know you may say NO it is not possible. and then I want to ask how to get the pixel when I set it to 1 or 2 or other numbers? when I set a number and then draw it I want to get how many pixels I will get between each chars.

thank you !!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions