AutoShape

개요

AutoShape은 Aspose.Slides FOSS for C++의 클래스입니다.

AutoShape을(를) 나타냅니다.

이 클래스는 C++ 프로그램에서 AutoShape 객체를 다루기 위해 13개의 메서드를 제공합니다. 사용 가능한 메서드에는 AutoShape, GeometryShape, TextFrame, add_text_frame, as_i_geometry_shape, init_internal, is_text_box, text_frame가 포함됩니다. Aspose.Slides FOSS for C++ 패키지를 설치한 후 모든 C++ 애플리케이션에서 public 멤버에 접근할 수 있습니다. 프로퍼티: GeometryShape, TextFrame.

속성

이름유형액세스설명
TextFrameTextFrame읽기텍스트 프레임을 가져옵니다.
GeometryShapeGeometryShape읽기기하학 모양을 가져옵니다.

메서드

시그니처설명
TextFrame() → TextFrame속성은 도형의 TextFrame 객체에 대한 접근을 제공합니다.
TextFrame() → TextFrame
GeometryShape() → GeometryShape이 AutoShape의 기하학을 정의하는 GeometryShape을 반환합니다
GeometryShape() → GeometryShape
AutoShape()
AutoShape(type: ShapeType, x: double, y: double, w: double, h: double)
text_frame() → TextFrame해당 AutoShape에 대한 TextFrame을 반환합니다. 없을 경우 nullptr를 반환합니다.
text_frame() → TextFrame해당 AutoShape에 대한 TextFrame을 반환합니다. 없을 경우 nullptr를 반환합니다.
is_text_box() → bool도형이 텍스트 상자인지 여부를 지정합니다.
as_i_geometry_shape() → GeometryShape이 도형을 GeometryShape 참조로 반환합니다.
as_i_geometry_shape() → GeometryShape이 도형을 GeometryShape 참조로 반환합니다.
add_text_frame(text: std::string_view) → TextFrame주어진 텍스트로 텍스트 프레임을 추가하고, 기존 프레임이 있으면 교체합니다. \r\n, \r, 또는 \n으로 구분된 줄은 별도의 단락을 생성합니다.
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)텍스트 프레임 감지를 포함하여 XML 요소에서 AutoShape를 초기화합니다.

참조

 한국어