Share via


ITextRange2::GetInlineObject 메서드(tom.h)

범위 활성 끝에 있는 인라인 개체의 속성을 가져옵니다.

구문

HRESULT GetInlineObject(
  [out] long *pType,
  [out] long *pAlign,
  [out] long *pChar,
  [out] long *pChar1,
  [out] long *pChar2,
  [out] long *pCount,
  [out] long *pTeXStyle,
  [out] long *pcCol,
  [out] long *pLevel
);

매개 변수

[out] pType

형식: long*

인라인 개체 형식은 다음 중 하나일 수 있습니다.

tomSimpleText

tomRuby

tomHorzVert

tomWarichu

tomAccent

tomBox

tomBoxedFormula

tomBrackets

tomBracketsWithSeps

tomEquationArray

tomFraction

tomFunctionApply

tomLeftSubSup

tomLowerLimit

tomMatrix

tomNary

tomOpChar

tomOverbar

tomPhantom

tomRadical

tomSlashedFraction

tomStack

tomStretchStack

tomSubscript

tomSubSup

tomSuperscript

tomUnderbar

tomUpperLimit

[out] pAlign

형식: long*

인라인 개체 맞춤은 인라인 개체 형식에 따라 다음 의미 중 하나일 수 있습니다.

인라인 개체 형식 Align 매개 변수의 의미
tomRuby
tomRubyBelow
tomRubyAlignCenter (기본값)
tomRubyAlign010
tomRubyAlign121
tomRubyAlignLeft
tomRubyAlignRight
tomBox
tomBoxAlignCenter
tomSpaceMask
tomSpaceDefault
tomSpaceUnary
tomSpaceBinary
tomSpaceRelational
tomSpaceSkip
tomSpaceOrd
tomSpaceDifferential
tomSizeText
tomSizeScript
tomSizeScriptScript
tomNoBreak
tomTransparentForPositioning
tomTransparentForSpacing
tomBoxedFormula
tomBoxHideTop
tomBoxHideBottom
tomBoxHideLeft
tomBoxHideRight
tomBoxStrikeH
tomBoxStrikeV
tomBoxStrikeTLBR
tomBoxStrikeBLTR
tomBrackets
tomAlignDefault
tomAlignCenter
tomAlignMatchAscentDescent
tomMathVariant
tomEquationArray
tomEqArrayLayoutWidth
tomEqArrayAlignMask
tomEqArrayAlignCenter
tomEqArrayAlignTopRow
tomEqArrayAlignBottomRow
tomMatrix
tomMatrixAlignMask
tomMatrixAlignCenter
tomMatrixAlignTopRow
tomMatrixAlignBottomRow
tomShowMatPlaceHldr
tomNary
tomLimitsDefault
tomLimitsUnderOver
tomLimitsSubSup
tomUpperLimitAsSuperScript
tomLimitsOpposite
tomShowLLimPlaceHldr
tomShowULimPlaceHldr
tomDontGrowWithContent
tomGrowWithContent
tomPhantom
tomPhantomShow
tomPhantomZeroWidth
tomPhantomZeroAscent
tomPhantomZeroDescent
tomPhantomTransparent
tomRadical tomShowDegPlaceHldr
tomSubSup tomSubSupAlign
tomStretchStack
tomStretchCharBelow
tomStretchCharAbove
tomStretchBaseBelow
tomStretchBaseAbove

[out] pChar

형식: long*

인라인 개체 문자입니다.

각 개체 형식의 값은 다음 표에 나와 있습니다.

인라인 개체 형식 맞춤 매개 변수의 의미
tomAccent 강조(U+0300—U+36F, U+20D0—U+20EF)
tomBoxedFormula 직사각형 엔클로저용 U+25AD
tomBrackets 여는 대괄호. 기본값: U+0028.
tomBracketsWithSeps 구분 기호가 있는 여는 대괄호입니다. 기본값: U+0028
tomEquationArray U+2588
tomFraction 일반 기본 제공 분수: U+002F; 작은 숫자 분수: U+2298
tomFunctionApply U+2061
tomLeftSubSup U+005E
tomLowerLimit U+252C
tomMatrix
U+25A0: 묶은 대괄호 없음
U+24A8: 괄호 묶기(\pmatrix)
U+24B1: 바깥쪽 세로 막대(\vmatrix)
U+24A9: 이중 세로 막대(\Vmatrix) 바깥쪽
tomNary n-ary 기호
tomOpChar 빌드되지 않은 연산자의 내부 사용
tomOverbar U+00AF
tomPhantom
U+27E1: 전체 또는 사용자 지정 가상
U+2B04: 가로 팬텀
U+21F3: 세로 가상
U+2B06: 상승 스매시
U+2B07: 하강 스매시
U+2B0C: 가로 스매시
U+2B0D: 전체 스매시
tomRadical
U+221A: 정사각형 또는 n번째 루트
U+221B: 큐브 루트
U+221C: 네 번째 루트
tomSlashedFraction
U+2044: 기울어진 분수
U+2215: 기본 제공 선형 분수
tomStack U+00A6
tomStretchStack 가로 늘이기 문자(목록에 대한 유니코드 기술 참고 28 부록 B 참조)
tomSubscript U+005E
tomSubSup U+005E
tomSuperscript U+005F
tomUnderbar U+2581
tomUpperLimit U+2534

[out] pChar1

형식: long*

닫는 tomBrackets 문자입니다. 목록에 대한 유니코드 기술 참고 28 부록 B. 문자 키워드 및 속성을 참조하세요.

[out] pChar2

형식: long*

tomBracketsWithSep의 구분 기호 문자:

U+007C: 추가 간격이 없는 세로 막대

U+2223: 추가 간격이 있는 세로 막대

[out] pCount

형식: long*

인수의 인라인 개체 수입니다.

[out] pTeXStyle

형식: long*

다음 값 중 하나일 수 있는 인라인 개체 TeX 스타일입니다.

참고tomStyleDefault 동작은 컨텍스트에 따라 달라집니다.
 

tomStyleDefault

tomStyleScriptScriptCramped

tomStyleScriptScript

tomStyleScriptCramped

tomStyleScript

tomStyleTextCramped

tomStyleText

tomStyleDisplayCramped

tomStyleDisplay

[out] pcCol

형식: long*

열의 인라인 개체 수입니다(tomMatrix 만 해당).

[out] pLevel

형식: long*

인라인 개체 0 기반 중첩 수준입니다.

반환 값

형식: HRESULT

메서드가 성공하면 NOERROR를 반환합니다. 그러지 않으면 HRESULT 오류 코드를 반환합니다.

설명

유니코드 Technical Note 28 에서는 활성 끝 문자가 인라인 개체 시작 구분 기호인 경우 맞춤 및 문자 값을 자세히 설명합니다.

해당 문자가 시작 구분 기호가 아닌 경우 문자 및 열 매개 변수는 0으로 설정되고, 개수는 0부터 시작하는 인수 인덱스로 설정되고, 다른 매개 변수는 가장 안쪽 인라인 개체 인수의 활성-끝 문자 속성에 따라 설정됩니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 8 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2012 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 tom.h
DLL Msftedit.dll

추가 정보

ITextRange2

ITextRange2::SetInlineObject