The XCountChars property, used for processes creating a console window, specifies the screen buffer width in character columns. ...

The XCountChars property, used for processes creating a console window, specifies the screen buffer width in character columns. These values are ignored in GUI processes.  Note, XCountChars and YCountChars cannot be specified independently.