Shape

개요

Shape C++의 Aspose.Slides FOSS에서 클래스입니다.

슬라이드에서 모든 모양을 위한 기본 클래스입니다.

이 클래스는 C++ 프로그램에서 Shape 객체와 작업하는 84가지 방법을 제공합니다. 이용 가능한 방법에는 다음이 포함됩니다.: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent, LineFormat, ShapeFrame, ShapeType, ThreeDFormat, alternative_text, alternative_text_title, 57개의 추가적인 방법. 모든 퍼블릭 멤버들은 C++ 패키지 Aspose.Slides FOSS를 설치한 후 어떤 C ++ 애플리케이션에도 액세스할 수 있습니다. 성질: EffectFormat, FillFormat, IBaseSlide, IPresentation, IPresentationComponent, ISlideComponent,그리고 4개 더.

속성

이름유형Access설명
ShapeTypeShapeType읽으세요.모양이 맞습니다.
EffectFormatEffectFormat읽으세요.효과 형식을 얻습니다.
FillFormatFillFormat읽으세요.포맷을 채우죠.
LineFormatLineFormat읽으세요.선 형식을 얻습니다.
ThreeDFormatThreeDFormat읽으세요.3D 형식을 얻습니다.
ShapeFrameShapeFrame읽으세요.틀 모양을 잡았어요.
ISlideComponentISlideComponent읽으세요.i 슬라이드 컴포넌트를 얻습니다.
IPresentationIPresentation읽으세요.i 프레젠테이션을 얻습니다.
IBaseSlideIBaseSlide읽으세요.i 기본 슬라이드를 얻습니다.
IPresentationComponentIPresentationComponent읽으세요.i 프레젠테이션 컴포넌트를 얻습니다.

메서드

Signature설명
ShapeType()ShapeType속성은 모양의 유형을 얻거나 설정합니다.
EffectFormat()EffectFormat속성은 모양의 효과 형식화에 접근을 제공합니다.
EffectFormat()EffectFormat
FillFormat()FillFormat모양의 메입 형식화 객체를 반환합니다.
FillFormat()FillFormat
LineFormat()LineFormat속성은 모양의 라인 포맷에 접근을 제공합니다.
LineFormat()LineFormat
ThreeDFormat()ThreeDFormat속성은 3D 형식화 접근을 제공합니다.
ThreeDFormat()ThreeDFormat
ShapeFrame()ShapeFrame속성은 모양의 프레임 데이터에 접근을 제공합니다.
ShapeFrame()ShapeFrame
ISlideComponent()ISlideComponent모양에 의해 구현된 슬라이드 구성 요소 인터페이스를 반환합니다.
IPresentation()IPresentation형태를 포함하는 프레젠테이션 인터페이스에 대한 특성을 참조합니다.
IPresentation()IPresentation
IBaseSlide()IBaseSlide속성은 모양을 가진 기본 슬라이드 인터페이스를 참조합니다.
IBaseSlide()IBaseSlide
IPresentationComponent()IPresentationComponent모양의 프레젠테이션 구성 요소 인터페이스를 반환합니다.
IPresentationComponent()IPresentationComponent
~Shape()
shape_type()ShapeType모양 유형을 반환합니다.
set_shape_type(value: ShapeType)형태 유형을 설정합니다.
x()doublex 좌표를 반환합니다.
set_x(value: double)모양의 X 좌표를 설정합니다.
y()doubley 좌표를 반환합니다.
set_y(value: double)모양의 Y 좌표를 설정합니다.
width()double그 모양의 너비를 반환합니다.
set_width(value: double)
height()double그 모양의 높이를 반환합니다.
set_height(value: double)
rotation()double회전각을 도로 표시합니다.
set_rotation(value: double)모양의 회전 각을 설정합니다.
name()std::string형태 이름을 반환합니다.
set_name(value: std::string)
effect_format()EffectFormat이 모양의 효과 형식을 반환합니다.
effect_format()EffectFormat이 모양의 효과 형식을 반환합니다.
fill_format()FillFormat이 모양의 메입 형식을 반환합니다.
fill_format()FillFormat이 모양의 메입 형식을 반환합니다.
line_format()LineFormat이 모양의 줄 형식을 반환합니다.
line_format()LineFormat이 모양의 줄 형식을 반환합니다.
three_d_format()ThreeDFormat이 모양의 3D 형식을 반환합니다.
three_d_format()ThreeDFormat이 모양의 3D 형식을 반환합니다.
is_text_holder()bool모양이 TextHolder인지 여부를 결정합니다. 기본값: false.
placeholder()위치지표를 반환합니다. 기본값은 nullptr입니다.
custom_data()사용자 정의 데이터를 반환합니다. 기본값은 nullptr입니다.
raw_frame()ShapeFrame원형 프레임을 반환합니다.
set_raw_frame(value: ShapeFrame)
frame()ShapeFrame모양의 프레임을 반환합니다.
set_frame(value: ShapeFrame)
hidden()bool모양이 숨겨져 있는지 결정합니다.
set_hidden(value: bool)
z_order_position()std::int32_tz-order 위치를 반환합니다.
connection_site_count()std::int32_t연결 사이트의 수 (기본 4) 를 반환합니다.
alternative_text()std::string대체 텍스트를 반환합니다.
set_alternative_text(value: std::string)
alternative_text_title()std::string대체 텍스트 제목을 반환합니다.
set_alternative_text_title(value: std::string)
is_decorative()bool‘상품으로 표시’ 옵션이 있습니다.
set_is_decorative(value: bool)
unique_id()std::uint32_t프레젠테이션 범위 고유 식별자를 반환합니다.
office_interop_shape_id()std::uint32_t슬라이드 스코프 모양 식별자를 반환합니다.
is_grouped()bool모양이 그룹화되었는지 결정합니다.
as_i_slide_component()ISlideComponent기본 ISlideComponent 인터페이스를 반환합니다.
presentation()IPresentation
presentation()IPresentation
slide()IBaseSlide
slide()IBaseSlide
as_i_presentation_component()IPresentationComponent
as_i_presentation_component()IPresentationComponent
set_z_order_position(value: std::int32_t)z-order 위치를 설정합니다. (ShapeCollection에서 내부적으로 사용됩니다.).
set_unique_id(value: std::uint32_t)고유 ID를 설정합니다 (내용으로 사용됩니다).
set_office_interop_shape_id(value: std::uint32_t)사무실 인터페이스 모양 id (내용) 을 설정합니다.
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)이 모양을 슬라이드 부분의 XML 요소에서 초기화합니다.
build_frame()ShapeFrameShapeFrame을 현재 xfrm 요소에서 만들어보세요.
apply_frame(value: IShapeFrame)xfrm 요소에 ShapeFrame의 값을 적용합니다.
get_sp_pr()pugi::xml_node이 모양의 spPr (또는 grpSpPr) 요소를 얻습니다.
ensure_sp_pr()pugi::xml_nodespPr 요소를 얻거나 생성합니다.
get_c_nv_pr()pugi::xml_nodecNvPr 요소를 XML 모양에서 얻습니다.
find_xfrm_in_element(xml_element: pugi::xml_node)pugi::xml_nodea:xfrm 요소를 직접 모양 XML 요소 내에서 찾아보세요.
get_placeholder_info()std::optional<std::pair<std::optional<std::string>, std::string>>
find_placeholder_xfrm_in_xml(root: pugi::xml_node, ph_type: std::optional<std::string>, ph_idx: std::string_view)pugi::xml_nodexfrm를 매칭하는 위치 홀더에 대한 레이아웃/마스터 XML 루트에서 찾아보세요.
xml_element()pugi::xml_node이 모양을 지원하는 XML 요소를 반환합니다.
get_inherited_xfrm()pugi::xml_node레이아웃 -> 마스터 체인을 통해 셰어홀더를 위한 상속 xfrm을 찾습니다.
get_xfrm()pugi::xml_nodea:xfrm 요소를 포맷 XML에서, 위치호더 상속으로 얻습니다.
ensure_xfrm()pugi::xml_nodea:xfrm 요소를 얻거나 생성합니다.

참조

 한국어