PrivateFontCollection.AddMemoryFont(IntPtr, Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
시스템 메모리에 포함된 글꼴을 이 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 속성을 으로 설정하여 개별 컨트롤에서 GDI+ 렌더링을 true설정합니다. 일부 컨트롤은 GDI+로 렌더링할 수 없습니다.