FillFormat
개요
FillFormat은 Aspose.Slides FOSS for C++의 클래스입니다.
도형의 채우기 서식 속성을 나타냅니다.
이 클래스는 C++ 프로그램에서 FillFormat 객체를 다루기 위한 31개의 메서드를 제공합니다. 사용 가능한 메서드에는: FillFormat, FillType, GradientFormat, NullableBool, PatternFormat, PictureFillFormat, SimpleColorFormat, fill_type, find_fill_element, get_or_create_fill, gradient_format, init_internal 및 추가 11개의 메서드가 포함됩니다. 모든 public 멤버는 Aspose.Slides FOSS for C++ 패키지를 설치한 후 모든 C++ 애플리케이션에서 접근할 수 있습니다. 속성: FillType, GradientFormat, NullableBool, PatternFormat, PictureFillFormat, SimpleColorFormat.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
FillType | FillType | 읽기 | 채우기 유형을 가져옵니다. |
SimpleColorFormat | SimpleColorFormat | 읽기 | 간단한 색상 형식을 가져옵니다. |
GradientFormat | GradientFormat | 읽기 | 그라디언트 형식을 가져옵니다. |
PatternFormat | PatternFormat | 읽기 | 패턴 형식을 가져옵니다. |
PictureFillFormat | PictureFillFormat | 읽기 | 그림 채우기 형식을 가져옵니다. |
NullableBool | NullableBool | 읽기 | nullable bool를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
FillType() → FillType | 속성은 도형의 채우기 유형을 가져오거나 설정합니다 |
SimpleColorFormat() → SimpleColorFormat | 속성은 단색 채우기 설정에 대한 접근을 제공합니다 |
SimpleColorFormat() → SimpleColorFormat | |
GradientFormat() → GradientFormat | 속성은 그라디언트 채우기 설정에 대한 액세스를 제공합니다. |
GradientFormat() → GradientFormat | |
PatternFormat() → PatternFormat | 속성은 패턴 채우기 설정에 대한 액세스를 제공합니다. |
PatternFormat() → PatternFormat | |
PictureFillFormat() → PictureFillFormat | 속성은 그림 채우기 설정에 대한 액세스를 제공합니다 |
PictureFillFormat() → PictureFillFormat | |
NullableBool() → NullableBool | 속성은 채우기가 활성화되어 있는지 여부를 나타냅니다 (nullable boolean) |
FillFormat() | |
~FillFormat() | |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>) | XML-backed 채우기 형식을 초기화합니다. (예: , , , ). |
find_fill_element() → pugi::xml_node | 부모 요소에서 첫 번째 fill 자식 요소를 찾습니다. |
remove_fill_elements() | 부모 요소에서 기존의 모든 fill 자식 요소를 제거합니다. |
insert_fill_element(tag: std::string_view) → pugi::xml_node | 부모 요소의 올바른 OOXML 위치에 fill 요소를 삽입합니다. Fill 요소는 geometry 뒤에, 그리고 . 앞에 와야 합니다. |
get_or_create_fill(tag: std::string_view) → pugi::xml_node | 주어진 태그의 기존 fill 요소를 가져오거나, 없으면 생성합니다(다른 요소는 제거). gradient 및 picture fill에 대한 기본 자식 요소를 추가합니다. |
save() | 저장 콜백을 통해 변경 사항을 저장합니다. |
serialize_to_xml(sp_pr: pugi::xml_node) | 주어진 spPr 노드 아래에서 XML에 메모리 내 채우기 형식 상태를 직렬화합니다. XML 백업이 없는 도형에 대해 Presentation::save() 중에 사용됩니다. |
fill_type() → FillType | 채우기 유형을 반환합니다. |
set_fill_type(value: FillType) | |
solid_fill_color() → SimpleColorFormat | 솔리드 채우기 색상 형식을 반환합니다. |
solid_fill_color() → SimpleColorFormat | 단색 채우기 색상 형식을 반환합니다. |
gradient_format() → GradientFormat | 그라데이션 채우기 형식을 반환합니다. |
gradient_format() → GradientFormat | 그라데이션 채우기 형식을 반환합니다. |
pattern_format() → PatternFormat | 패턴 채우기 형식을 반환합니다. |
pattern_format() → PatternFormat | 패턴 채우기 형식을 반환합니다. |
picture_fill_format() → PictureFillFormat | 그림 채우기 형식을 반환합니다. |
picture_fill_format() → PictureFillFormat | 그림 채우기 형식을 반환합니다. |
rotate_with_shape() → NullableBool | 채우기가 도형과 함께 회전해야 하는지 여부를 결정합니다. |
set_rotate_with_shape(value: NullableBool) |