PrivateFontCollection.AddMemoryFont(IntPtr, Int32) 메서드

정의

시스템 메모리에 포함된 글꼴을 이 PrivateFontCollection에 추가합니다.

public:
 void AddMemoryFont(IntPtr memory, int length);
public void AddMemoryFont (IntPtr memory, int length);
member this.AddMemoryFont : nativeint * int -> unit
Public Sub AddMemoryFont (memory As IntPtr, length As Integer)

매개 변수

memory
IntPtr

nativeint

추가할 글꼴의 메모리 주소입니다.

length
Int32

추가할 글꼴의 메모리 길이입니다.

설명

메모리 글꼴을 사용하려면 컨트롤의 텍스트를 GDI+로 렌더링해야 합니다. 사용 합니다 SetCompatibleTextRenderingDefault 메서드를 전달 true컨트롤을 설정 하 여 개별 컨트롤 또는 애플리케이션을 GDI + 렌더링을 설정 하기 위해 UseCompatibleTextRendering 속성을 true입니다. 일부 컨트롤은 GDI+로 렌더링할 수 없습니다.

적용 대상

추가 정보