주메뉴 바로가기 본문 바로가기 하단 바로가기

고객지원

기술문의

질문있습니다.

  • 이춘희
  • 2004.06.10
  • 조회수 1,955
JTGO의 Equipment Component를 이용하여 장비 실장도를 그릴려고하는데요..
IltPort의 속성중에서 IlvDirection.RIGHT를 사용할려고 하는데 어떻게 해야되요?
IltPort port = new IltPort("port")
port.setAttributeValue(IltPort.DirectionAttribute, IlvDirection.Right);
이렇게 사용하니깐 에러가 나네요..
port의 모양을 세우는 방법이 어떻게 되나요?
그리고 사이즈는 어떻게 줄이나요?

댓글 2

  • 방효동2004-06-11
    import ilog.cpl.style.*;



    IltPort port = new IltPort("port");
    port.setAttributeValue(IltPort.DirectionAttribute, IlpDirection.Right);

    IlvDirection.Right ==> IlpDirection.Right
    시험해 보니 잘됩니다.
    아이콘삭제
  • 이춘희2004-06-11
    답변 감사드립니다.
    혹시 port의 크기 조절은 어떻게 하는지요?
    아이콘삭제

댓글 입력