From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



CVI에서 PrintTextFile 함수와 PrintTextBuffer 함수를 이용하여 폰트의 너비의 고정되게하여 프린트 하려면 어떻게 해야 합니까?



주요한 소프트웨어:
주요한 소프트웨어 버전: 6.0
문제가 해결된 소프트웨어 버전:
부차적인 소프트웨어: N/A

문제점: 배열하기 쉽게 하기 위하여, 각 문자들의 너비가 동일한 폰트로 프린트 하고 싶습니다.

솔루션: CVI 에서 폰트를 고정된 너비로 프린트하도록 하는 함수는 NISystemMetaFont 입니다. 이 폰트로 바꾸기 위해서는 다음과 같이 SetPrintAttribute 함수를 사용하십시요.:

SetPrintAttribute (ATTR_PRINT_FONT_NAME, VAL_SYSTEM_META_FONT);

관련 링크:

첨부:





리포트 날짜: 01/17/2003
마지막 업데이트: 06/19/2006
문서 번호: 2TGAHKWC