Unless you use a monospaced font, they will only be the same pixel length if you use the same character. Also fonts are not square, the height is greater than the width.
How to know if 2 ASCII created lines in a command prompt has the same length?
Cem Tuğanlı
1
Reputation point
Is there a way to know if these 2 lines have the same size in pixels aka length? What code should I use to determine if they have the same length or not?
Just because these perpendicular lines created with ASCII, they differ in length size according to whether they were put next to one another or line by line under each other or not.
Developer technologies | .NET | .NET CLI
Developer technologies | .NET | .NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 81,976 Reputation points Volunteer Moderator
2022-10-18T14:36:52.56+00:00