public static Rectangle RangeBound(this IDeviceContext dc, Font font, string text, Rectangle container, int start, int end, DrawTextFlags?flags = null) { Rectangle textBound, uptoIndex; return(dc.RangeBound(font, text, container, start, end, out textBound, out uptoIndex, flags)); }