SetFont 메서드

폰트 정보를 지정합니다.

형식

syntax
objImage.SetFont(FontName, FontSize, FontStyle)

objImage

Required. Image 오브젝트

FontName

String. 폰트 이름을 지정합니다.

FontSize

Real. 폰트 크기를 포인트 단위로 지정합니다.

FontStyle

Long. 폰트 스타일 값 입니다.

설명

DrawText 메서드로 문자열을 출력하기 전에 SetFont 메서드를 호출해 사용할 폰트를 결정합니다.

FontStyle은 아래 값을 Or 해서 지정합니다.

설 명

FontStyleRegular

스타일 없음

FontStyleBold

굵은 글씨

FontStyleItalic

기울임꼴

FontStyleUnderline

밑줄

FontStyleStrikeout

취소선

See Also