불행히도, 대답은 "일종의하지만 정말"입니다.
아래에 설명 된대로 ShapeAction 이벤트를 catch 할 수 있지만 ShapeAction 이벤트는 실제로는 모양이 아니라 도형에 맞게 디자인되어 있으므로 현재 텍스트 (도형에 아직 저장되지 않은 텍스트)를 가져올 수 없으며 짝수 코멘트가 속하는 셀을 취득합니다. 이 기능을 요구하는 SpreadsheetGear에서 지원하는 이메일을 보내는 경우가과 관련된 이메일 주소로 자신의 목록에이 기능 요청을 추가합니다
private void workbookView1_ShapeAction(object sender, SpreadsheetGear.Windows.Forms.ShapeActionEventArgs e)
{
switch (e.ShapeActionType)
{
case SpreadsheetGear.Windows.Forms.ShapeActionType.TextChanged:
if (e.Shape.Type == SpreadsheetGear.Shapes.ShapeType.Comment)
{
// Unfortunately, this is as far as we can get since IShape
// does not have a way to get back to the cell which owns the comment.
//
// Furthermore, the text is not yet stored in the IShape, so we
// cannot get the current text either.
}
break;
}
}
: 그것이 당신에게 유용 할 수 있기 때문에 아직도, 나는 몇 가지 코드에 붙여 넣습니다 그것.
Joe, 코드 감사합니다. 그것은 내가 아래 답변에 게시 된 것으로 보이는 솔루션으로 나를 이끌었다. – Daniel