ShapeCollection

ShapeCollection

개요

ShapeCollection은 Aspose.Cells FOSS for Rust의 구조체입니다.

워크시트에 있는 그리기 객체(도형) 컬렉션을 나타냅니다.

이 구조체는 Rust 프로그램에서 ShapeCollection 객체를 위한 7개의 메서드를 선언합니다. 사용 가능한 메서드에는 add, clear, count, get, get_count, item, remove_at이(가) 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.

메서드

시그니처설명
count() → usize항목의 수를 가져옵니다.
get_count() → usize항목 수를 가져옵니다.
add(upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32, shape_type: AutoShapeType) → Result<usize, CellsError>워크시트에 새 도형을 추가하고 해당 도형의 0부터 시작하는 인덱스를 반환합니다.
get(index: usize) → Option<Shape<'_>>컬렉션에서 항목을 가져옵니다.
item(index: usize) → Option<Shape<'_>>컬렉션에서 항목을 가져옵니다.
remove_at(index: usize) → Result<(), CellsError>항목을 제거합니다.
clear()현재 상태를 초기화합니다.

참조

 한국어