본문 바로가기

Etc/MicroSoft Office

슬라이드 배경 바꾸기


① _currentSlide.FollowMasterBackground = MsoTriState.msoFalse;
②  _currentSlide.Background.Fill.ForeColor.RGB = (int)0x0000FF;



① : Master의 Background를 따르지 않겠다!!

_currentSlide : 현재 슬라이드
(int)0x0000FF : RGB를 int 형태로 받기 때문에 이렇게 변환 하고 또한 BGR로 인식 하기 때문에 0x0000FF는 빨간색 이닷!!

Pattern이나 Texture의 색을 바꾸고 싶으면 ForeColor 대신에 BackColor을 바꿔주면 된다나 머라나~ (확실하지 않음 -_-...)