PageSetup
개요
PageSetup은(는) Aspose.Cells FOSS for Rust의 구조체입니다. 상속: Debug, Clone, PartialEq, 그리고 1개 더.
워크시트 인쇄 및 페이지 레이아웃 설정을 나타냅니다.
이 구조체는 Rust 프로그램에서 PageSetup 객체를 위해 102개의 메서드를 선언합니다. 사용 가능한 메서드에는 add_horizontal_page_break, add_vertical_page_break, bottom_margin, bottom_margin_inch, center_footer, center_header, center_horizontally, center_vertically, clear_horizontal_page_breaks, clear_vertical_page_breaks, first_page_number, fit_to_pages_tall 및 추가 90개의 메서드가 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for Rust 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
new() → Self | 새 인스턴스를 초기화합니다. |
paper_size() → PaperSizeType | 용지 크기를 가져옵니다. |
get_paper_size() → PaperSizeType | 용지 크기를 가져옵니다. |
set_paper_size(value: PaperSizeType) | 용지 크기를 설정합니다. |
orientation() → PageOrientationType | 페이지 방향을 가져옵니다. |
get_orientation() → PageOrientationType | 페이지 방향을 가져옵니다. |
set_orientation(value: PageOrientationType) | 페이지 방향을 설정합니다. |
first_page_number() → Option<i32> | 첫 번째 인쇄 페이지 번호를 가져옵니다. |
get_first_page_number() → Option<i32> | 첫 번째 인쇄 페이지 번호를 가져옵니다. |
set_first_page_number(value: Option<i32>) → Result<(), CellsError> | 첫 번째 인쇄 페이지 번호를 설정합니다. |
scale() → Option<i32> | 인쇄 배율 비율을 가져옵니다. |
get_scale() → Option<i32> | 인쇄 배율 백분율을 가져옵니다. |
set_scale(value: Option<i32>) → Result<(), CellsError> | 인쇄 배율 비율을 설정합니다. |
fit_to_pages_wide() → Option<i32> | 인쇄 시 맞추기 위해 가로 페이지 수를 가져옵니다. |
get_fit_to_pages_wide() → Option<i32> | 인쇄 시 맞추기 위해 가로 방향 페이지 수를 가져옵니다. |
set_fit_to_pages_wide(value: Option<i32>) → Result<(), CellsError> | 인쇄 시 맞출 가로 페이지 수를 설정합니다. |
fit_to_pages_tall() → Option<i32> | 인쇄 시 맞추기 위해 페이지 높이를 나타내는 페이지 수를 가져옵니다. |
get_fit_to_pages_tall() → Option<i32> | 인쇄 시 맞추기 위해 페이지 높이를 나타내는 페이지 수를 가져옵니다. |
set_fit_to_pages_tall(value: Option<i32>) → Result<(), CellsError> | 인쇄 시 맞추기 위해 페이지 높이를 페이지 수로 설정합니다. |
print_area() → &str | 인쇄 영역 참조를 가져옵니다. |
get_print_area() → &str | 인쇄 영역 참조를 가져옵니다. |
set_print_area(value: impl Into<String>) | 인쇄 영역 참조를 설정합니다. |
print_title_rows() → &str | 반복되는 제목 행 참조를 가져옵니다. |
get_print_title_rows() → &str | 반복되는 제목 행 참조를 가져옵니다. |
set_print_title_rows(value: impl Into<String>) | 반복 제목 행 참조를 설정합니다. |
print_title_columns() → &str | 반복 제목 열 참조를 가져옵니다. |
get_print_title_columns() → &str | 반복되는 제목 열 참조를 가져옵니다. |
set_print_title_columns(value: impl Into<String>) | 반복되는 제목 열 참조를 설정합니다. |
left_margin() → f64 | 왼쪽 여백을 센티미터 단위로 가져옵니다. |
get_left_margin() → f64 | 센티미터 단위의 왼쪽 여백을 가져옵니다. |
set_left_margin(value: f64) → Result<(), CellsError> | 왼쪽 여백을 센티미터 단위로 설정합니다. |
right_margin() → f64 | 오른쪽 여백을 센티미터 단위로 가져옵니다. |
get_right_margin() → f64 | 오른쪽 여백을 센티미터 단위로 가져옵니다. |
set_right_margin(value: f64) → Result<(), CellsError> | 오른쪽 여백을 센티미터 단위로 설정합니다. |
top_margin() → f64 | 센티미터 단위의 상단 여백을 가져옵니다. |
get_top_margin() → f64 | 센티미터 단위의 상단 여백을 가져옵니다. |
set_top_margin(value: f64) → Result<(), CellsError> | 상단 여백을 센티미터 단위로 설정합니다. |
bottom_margin() → f64 | 센티미터 단위로 하단 여백을 가져옵니다. |
get_bottom_margin() → f64 | 센티미터 단위로 아래쪽 여백을 가져옵니다. |
set_bottom_margin(value: f64) → Result<(), CellsError> | 하단 여백을 센티미터 단위로 설정합니다. |
header_margin() → f64 | 헤더 여백을 센티미터 단위로 가져옵니다. |
get_header_margin() → f64 | 헤더 여백을 센티미터 단위로 가져옵니다. |
set_header_margin(value: f64) → Result<(), CellsError> | 헤더 여백을 센티미터 단위로 설정합니다. |
footer_margin() → f64 | 푸터 여백을 센티미터 단위로 가져옵니다. |
get_footer_margin() → f64 | 푸터 여백을 센티미터 단위로 가져옵니다. |
set_footer_margin(value: f64) → Result<(), CellsError> | 푸터 여백을 센티미터 단위로 설정합니다. |
left_margin_inch() → f64 | 인치 단위의 왼쪽 여백을 가져옵니다. |
get_left_margin_inch() → f64 | 인치 단위의 왼쪽 여백을 가져옵니다. |
set_left_margin_inch(value: f64) → Result<(), CellsError> | 인치 단위로 왼쪽 여백을 설정합니다. |
right_margin_inch() → f64 | 오른쪽 여백을 인치 단위로 가져옵니다. |
get_right_margin_inch() → f64 | 인치 단위의 오른쪽 여백을 가져옵니다. |
set_right_margin_inch(value: f64) → Result<(), CellsError> | 오른쪽 여백을 인치 단위로 설정합니다. |
top_margin_inch() → f64 | 인치 단위의 상단 여백을 가져옵니다. |
get_top_margin_inch() → f64 | 인치 단위로 상단 여백을 가져옵니다. |
set_top_margin_inch(value: f64) → Result<(), CellsError> | 인치 단위로 위쪽 여백을 설정합니다. |
bottom_margin_inch() → f64 | 인치 단위로 하단 여백을 가져옵니다. |
get_bottom_margin_inch() → f64 | 인치 단위의 하단 여백을 가져옵니다. |
set_bottom_margin_inch(value: f64) → Result<(), CellsError> | 인치 단위로 하단 여백을 설정합니다. |
header_margin_inch() → f64 | 헤더 여백을 인치 단위로 가져옵니다. |
get_header_margin_inch() → f64 | 헤더 여백을 인치 단위로 가져옵니다. |
set_header_margin_inch(value: f64) → Result<(), CellsError> | 헤더 여백을 인치 단위로 설정합니다. |
footer_margin_inch() → f64 | 인치 단위로 바닥글 여백을 가져옵니다. |
get_footer_margin_inch() → f64 | 인치 단위로 바닥글 여백을 가져옵니다. |
set_footer_margin_inch(value: f64) → Result<(), CellsError> | 인치 단위로 바닥글 여백을 설정합니다. |
left_header() → &str | 왼쪽 머리글 텍스트를 가져옵니다. |
get_left_header() → &str | 왼쪽 머리글 텍스트를 가져옵니다. |
set_left_header(value: impl Into<String>) | 왼쪽 머리글 텍스트를 설정합니다. |
center_header() → &str | 가운데 머리글 텍스트를 가져옵니다. |
get_center_header() → &str | 중앙 머리글 텍스트를 가져옵니다. |
set_center_header(value: impl Into<String>) | 가운데 머리글 텍스트를 설정합니다. |
right_header() → &str | 오른쪽 머리글 텍스트를 가져옵니다. |
get_right_header() → &str | 오른쪽 머리글 텍스트를 가져옵니다. |
set_right_header(value: impl Into<String>) | 오른쪽 머리글 텍스트를 설정합니다. |
left_footer() → &str | 왼쪽 푸터 텍스트를 가져옵니다. |
get_left_footer() → &str | 왼쪽 바닥글 텍스트를 가져옵니다. |
set_left_footer(value: impl Into<String>) | 왼쪽 푸터 텍스트를 설정합니다. |
center_footer() → &str | 중앙 바닥글 텍스트를 가져옵니다. |
get_center_footer() → &str | 가운데 푸터 텍스트를 가져옵니다. |
set_center_footer(value: impl Into<String>) | 중앙 푸터 텍스트를 설정합니다. |
right_footer() → &str | 오른쪽 바닥글 텍스트를 가져옵니다. |
get_right_footer() → &str | 오른쪽 바닥글 텍스트를 가져옵니다. |
set_right_footer(value: impl Into<String>) | 오른쪽 바닥글 텍스트를 설정합니다. |
print_gridlines() → bool | 그리드라인이 인쇄되는지 여부를 가져옵니다. |
get_print_gridlines() → bool | 그리드 라인이 인쇄되는지 여부를 가져옵니다. |
set_print_gridlines(value: bool) | 그리드라인이 인쇄되는지 여부를 설정합니다. |
print_headings() → bool | 행 및 열 머리글이 인쇄되는지 여부를 가져옵니다. |
get_print_headings() → bool | 행 및 열 머리글이 인쇄되는지 여부를 가져옵니다. |
set_print_headings(value: bool) | 행 및 열 머리글이 인쇄되는지 여부를 설정합니다. |
center_horizontally() → bool | 페이지에서 콘텐츠가 수평으로 가운데 정렬되는지 여부를 가져옵니다. |
get_center_horizontally() → bool | 페이지에서 콘텐츠가 수평으로 가운데 정렬되는지 여부를 가져옵니다. |
set_center_horizontally(value: bool) | 페이지에서 내용이 수평으로 가운데 정렬되는지 설정합니다. |
center_vertically() → bool | 페이지에서 콘텐츠가 수직으로 가운데 정렬되는지 여부를 가져옵니다. |
get_center_vertically() → bool | 페이지에서 콘텐츠가 수직으로 중앙에 배치되는지 여부를 가져옵니다. |
set_center_vertically(value: bool) | 페이지에서 콘텐츠가 수직으로 가운데 정렬되는지 여부를 설정합니다. |
horizontal_page_breaks() → Vec<i32> | 수평 페이지 구분을 정렬된 0 기반 행 인덱스로 가져옵니다. |
get_horizontal_page_breaks() → Vec<i32> | 수평 페이지 나눔을 정렬된 0 기반 행 인덱스로 가져옵니다. |
vertical_page_breaks() → Vec<i32> | 수직 페이지 구분을 정렬된 0 기반 열 인덱스로 가져옵니다. |
get_vertical_page_breaks() → Vec<i32> | 수직 페이지 구분을 정렬된 0 기반 열 인덱스로 가져옵니다. |
add_horizontal_page_break(row_index: i32) → Result<(), CellsError> | 항목을 추가합니다. |
add_vertical_page_break(column_index: i32) → Result<(), CellsError> | 항목을 추가합니다. |
clear_horizontal_page_breaks() | 수평 페이지 나누기를 지웁니다. |
clear_vertical_page_breaks() | 수직 페이지 나누기를 지웁니다. |