作廢?拉繩(CDCHandle?dc,?CString?strText,?CRectHelper?rc)
{
圖形?g(直流);
SolidBrush?solidBrush(顏色(255,255,?255,?255));
StringFormat?stringFormat
stringFormat。set alignment(string alignment near);
stringFormat。SetLineAlignment(string alignment near);
g.拉繩(strText,?strText。GetLength(),?m_GDIPlusFont,?rc,?& amp字符串格式,?& ampsolid brush);
}字體格式設置好了嗎?我壹般用GDI+來畫字,我就是這麽用的。