PageSetup
Overview
PageSetup là một lớp trong Aspose.Words FOSS cho Python. Dòng thừa kế từ: BaseModel.
PageSetup.paper_size represents the predefined size of the page (e.g., A4, Letter).
Tài sản : bottom_margin, different_first_page_header_footer, footer_distance, gutter, header_distance, left_margin,Và 12 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
paper_size | int | Read | Nhận kích thước giấy. |
orientation | int | Read | Nhận định hướng. |
top_margin | float | Read | Tận dụng margin cao nhất. |
bottom_margin | float | Read | Tải xuống margin dưới. |
left_margin | float | Read | Nhận được đường biên trái. |
right_margin | float | Read | Nhận được đúng margin. |
header_distance | float | Read | - Nhận khoảng cách đầu. |
footer_distance | float | Read | Tải về Phía chân. |
gutter | float | Read | Gửi gút. |
page_width | float | Read | Nhận diện rộng trang. |
page_height | float | Read | Nhận được chiều cao của trang. |
page_number_style | int | Read | Gửi số trang theo phong cách. |
page_starting_number | int | Read | Nhận số khởi đầu trang. |
restart_page_numbering | bool | Read | Nhận số trang khởi động lại. |
section_start | int | Read | Bắt đầu phần. |
different_first_page_header_footer | bool | Read | Nhận các đầu trang khác nhau đầu tiên header foot. |
odd_and_even_pages_header_footer | bool | Read | Nhận được cái lạ và thậm chí các trang đầu chân. |
text_columns | Optional[TextColumns] | Read | Nhận các cột văn bản. |