다음을 통해 공유


IXpsOMGlyphs 인터페이스(xpsobjectmodel.h)

페이지에 표시되는 텍스트를 설명합니다.

IXpsOMGlyphsEditor 인터페이스는 이 인터페이스에서 설명하는 텍스트를 수정하는 데 사용됩니다.

상속

IXpsOMGlyphs 인터페이스는IXpsOMVisual에서 상속됩니다. IXpsOMGlyphs 에는 다음과 같은 유형의 멤버도 있습니다.

메서드

IXpsOMGlyphs 인터페이스에는 이러한 메서드가 있습니다.

 
IXpsOMGlyphs::Clone

인터페이스의 전체 복사본을 만듭니다. (IXpsOMGlyphs.Clone)
IXpsOMGlyphs::GetBidiLevel

양방향 텍스트의 수준을 가져옵니다.
IXpsOMGlyphs::GetDeviceFontName

디바이스 글꼴의 이름을 가져옵니다. (IXpsOMGlyphs.GetDeviceFontName)
IXpsOMGlyphs::GetFillBrush

텍스트에 사용할 채우기 브러시의 확인된 IXpsOMBrush 인터페이스에 대한 포인터를 가져옵니다.
IXpsOMGlyphs::GetFillBrushLocal

텍스트에 사용할 채우기 브러시의 공유되지 않은 로컬 IXpsOMBrush 인터페이스에 대한 포인터를 가져옵니다.
IXpsOMGlyphs::GetFillBrushLookup

리소스 사전에 저장되고 채우기 브러시로 사용되는 IXpsOMBrush 인터페이스의 조회 키를 가져옵니다.
IXpsOMGlyphs::GetFontFaceIndex

사용할 글꼴 면의 인덱스 를 가져옵니다.
IXpsOMGlyphs::GetFontRenderingEmSize

글꼴 크기를 가져옵니다. (IXpsOMGlyphs.GetFontRenderingEmSize)
IXpsOMGlyphs::GetFontResource

이 텍스트에 필요한 글꼴 리소스 개체의 IXpsOMFontResource 인터페이스에 대한 포인터를 가져옵니다.
IXpsOMGlyphs::GetGlyphIndexCount

문자 모양 인덱스의 수를 가져옵니다.
IXpsOMGlyphs::GetGlyphIndices

글꼴의 특정 문자 모양 인덱스를 설명하는 XPS_GLYPH_INDEX 구조체의 배열을 가져옵니다. (IXpsOMGlyphs.GetGlyphIndices)
IXpsOMGlyphs::GetGlyphMappingCount

문자 모양 매핑 수를 가져옵니다. (IXpsOMGlyphs.GetGlyphMappingCount)
IXpsOMGlyphs::GetGlyphMappings

GETGlyphIndices에서 반환하는 XPS_GLYPH_INDEX 구조체 배열의 항목에 UTF-16 스칼라 값을 매핑하는 방법을 설명하는 XPS_GLYPH_MAPPING 구조체의 배열을 가져옵니다. (IXpsOMGlyphs.GetGlyphMappings)
IXpsOMGlyphs::GetGlyphsEditor

개체의 문자 모양을 편집하는 데 사용할 IXpsOMGlyphsEditor 인터페이스에 대한 포인터를 가져옵니다.
IXpsOMGlyphs::GetIsSideways

텍스트를 옆으로 회전된 문자 모양으로 렌더링할지 여부를 나타내는 부울 값을 가져옵니다. (IXpsOMGlyphs.GetIsSideways)
IXpsOMGlyphs::GetOrigin

텍스트의 시작 위치를 가져옵니다.
IXpsOMGlyphs::GetProhibitedCaretStopCount

금지된 caret 중지 횟수를 가져옵니다. (IXpsOMGlyphs.GetProhibitedCaretStopCount)
IXpsOMGlyphs::GetProhibitedCaretStops

금지된 caret 중지 위치의 배열을 가져옵니다. (IXpsOMGlyphs.GetProhibitedCaretStops)
IXpsOMGlyphs::GetStyleSimulations

문자 모양을 렌더링할 때 적용할 스타일 시뮬레이션을 가져옵니다.
IXpsOMGlyphs::GetUnicodeString

이스케이프되지 않은 UTF-16 스칼라 값의 텍스트를 가져옵니다. (IXpsOMGlyphs.GetUnicodeString)
IXpsOMGlyphs::SetFillBrushLocal

IXpsOMBrush 인터페이스 포인터를 공유되지 않은 로컬 채우기 브러시로 설정합니다.
IXpsOMGlyphs::SetFillBrushLookup

공유 채우기 브러시의 조회 키 이름을 설정합니다.
IXpsOMGlyphs::SetFontFaceIndex

사용할 글꼴 면의 인덱스 를 설정합니다.
IXpsOMGlyphs::SetFontRenderingEmSize

텍스트의 글꼴 크기를 설정합니다.
IXpsOMGlyphs::SetFontResource

이 텍스트에 필요한 글꼴 리소스 개체의 IXpsOMFontResource 인터페이스에 대한 포인터를 설정합니다.
IXpsOMGlyphs::SetOrigin

텍스트의 시작 위치를 설정합니다.
IXpsOMGlyphs::SetStyleSimulations

문자 모양이 렌더링될 때 적용될 스타일 시뮬레이션을 설정합니다.

설명

다음 코드 예제에서는 이 인터페이스의 instance 만드는 방법을 보여 줍니다.


IXpsOMGlyphs       *newInterface;
// this interface is defined outside of this example
//  IXpsOMFontResource *font; 

// Note the implicit requirement that CoInitializeEx 
//  has previously been called from this thread.

hr = CoCreateInstance(
    __uuidof(XpsOMObjectFactory),
    NULL,
    CLSCTX_INPROC_SERVER,
    _uuidof(IXpsOMObjectFactory),
    reinterpret_cast<LPVOID*>(&xpsFactory)
    );

if (SUCCEEDED(hr))
{
    hr = xpsFactory->CreateGlyphs (font, &newInterface);
    if (SUCCEEDED(hr))
    {
        // use newInterface

        newInterface->Release();
    }
    xpsFactory->Release();
}
else
{
    // evaluate HRESULT error returned in hr
}

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 7, Windows Vista SP2 및 Windows Vista용 플랫폼 업데이트가 포함된 Windows Vista [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2008 R2, Windows Server 2008 SP2 및 Windows Server 2008용 플랫폼 업데이트 [데스크톱 앱 | UWP 앱]
대상 플랫폼 Windows
헤더 xpsobjectmodel.h

추가 정보

IXpsOMBrush

IXpsOMFontResource

IXpsOMGlyphsEditor

IXpsOMObjectFactory::CreateGlyphs

IXpsOMVisual

인터페이스

XML Paper Specification