PowerPoint에서 TextRange 개체가 있고 채우기 색상 (글꼴 색상이 아님)을 설정하고 싶습니다.
Fill.ForeColor를 통해 설정할 수있는 모양을 알고 있지만 TextRange 개체의 경우는 어떻습니까?
TextRange 개체를 '채울'수는 없지만 TextRange가 포함 된 텍스트 상자를 채우려는 경우 TextRange 개체 위에있는 두 부모 인 모양을 채 웁니다.
예 :
Dim oShp as Shape
Set oShp = ActivePresentation.Slides(1).Shapes(1)
' Fill the text with red
oShp.TextFrame2.TextRange.Font.Fill.ForeColor.RGB = RGB(255,0,0)
' Fill the text box with green
oShp.Fill.ForeColor.RGB = RGB(0,255,0)
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다