winforms - Find out default tab size in C# RichTextBox -
the default size in pixels tab in richtextbox apparently 48 pixels, regardless of font or font size. set default .net without me touching selectiontabs array. i've checked in rtf - there's no \tx control code or heck elusive '48' number stored?
i don't want use hardcoded 'magic number' in case other systems use other 48 pixels tab.
my own purpose me convert tabs spaces (at least fixed width fonts). finding answer might closer controlling tab size single value without setting 'infinite' array of tab stops implied this answer.
Comments
Post a Comment