* °³¿ä
±×¸®µå»ó¿¡¼ ƯÁ¤ ¹®ÀÚ¿¡ ÇÏÀ̶óÀÌÆ® ÁÖ´Â ±â´ÉÀ» ¼³¸íÇÏ¿´½À´Ï´Ù.
* »ó¼¼ ¼³¸í
Å×ÀÌºí¿¡ GridCellRichTextBox¸¦ »ç¿ëÇÏ¿© ƯÁ¤ ¹®ÀÚ¿¿¡ »öÀ» º¯°æÇÕ´Ï´Ù.(º» ¿¹Á¦¿¡¼´Â ÁÖ¼Ò°¡ "¼¿ï"À̸é ÇØ´ç ÅؽºÆ®ÀÇ ¹®ÀÚ Æ÷¸ËÀ» º¯°æÇÕ´Ï´Ù.)
- ½ºÅ©¸³Æ® (TableÀÇ OnPostInitialize À̺¥Æ®)
//Å×À̺íÀÇ µ¥ÀÌÅÍ °Ç¼ö¸¦ °¡Á®¿È
var cnt = This.GetRowCount();
for ( i=0; i<cnt; i++){
var Cell = Table1.GetCell(i,2);
// "¼¿ï"ÀÌ Æ÷ÇÔµÈ À妽º¸¦ ã¾Æ ¿È.
var index = Cell.FindText("¼¿ï", 0, -1, false, false, true);
var char = Cell.GetSelectCharFormat(index, index+2);
// ÇØ´ç À妽ºÀÇ ¹®ÀÚ Æ÷¸ËÀ» ¼³Á¤ÇÔ.
char.TextColor ="0, 0, 255";
char.Size =300;
char.FontName = "±Ã¼";
char.UnderlineEffect = true;
// ¼³Á¤ÇÑ ¹®ÀÚ Æ÷¸ËÀ¸·Î º¯°æÇÔ.
Cell.SetSelectCharFormat(char, index, index+2);
}
|