public void ClearTextWrap() { float tmpHeight = imageEnd - currentHeight; if (line != null) { tmpHeight += line.Height; } if ((imageEnd > -1) && (tmpHeight > 0)) { CarriageReturn(); currentHeight += tmpHeight; } }