I want to calculate the fit size for the string with font and string format settings, but i could not find any methods for calculating width with stringformat without any maximum width constraints.
graphics.MeasureString uses maximum width when calculating size based on string format. but i need to find size without providing max width in order to fit with the stringformat mentioned.
How can i achieve this?