PageSetupModel

PageSetupModel

Overview

PageSetupModel là một lớp trong Aspose.Cells FOSS cho C++.

  • Hình thức trang Setup.

Khóa học này cung cấp 35 phương pháp để làm việc với các đối tượng PageSetupModel trong các chương trình C++. Các phương pháp có sẵn bao gồm: GetFirstPageNumber, GetFitToHeight, GetFitToWidth, GetHeaderFooter, GetHorizontalPageBreaks, GetMargins, GetOrientation, GetPaperSize, GetPrintArea, GetPrintOptions, GetPrintTitleColumns, GetPrintTitleRows,Và 15 phương pháp bổ sung. Tất cả các thành viên công cộng đều có thể truy cập vào bất kỳ ứng dụng C++ nào sau khi cài đặt Aspose.Cells FOSS cho gói C ++. Phương pháp Accessor: HeaderFooterModel, PageMarginsModel, PageOrientation, PrintOptionsModel.

Phương pháp Accessor

NameTypeAccessDescription
PageMarginsModelPageMarginsModelReadNhận mẫu trang margins.
PrintOptionsModelPrintOptionsModelReadNhận mô hình tùy chọn in.
HeaderFooterModelHeaderFooterModelReadĐặt mẫu header footer.
PageOrientationPageOrientationReadNhận định hướng trang.

Methods

SignatureDescription
PageMarginsModel()PageMarginsModelTạo mô hình trang margin.
PageMarginsModel()PageMarginsModelHãy gọi PageMarginsModel trên trường hợp này PageSetupModel.
PrintOptionsModel()PrintOptionsModelChọn mô hình tùy chọn in.
PrintOptionsModel()PrintOptionsModelHãy gọi PrintOptionsModel trên trường hợp này PageSetupModel.
HeaderFooterModel()HeaderFooterModelChọn Header Footer Model.
HeaderFooterModel()HeaderFooterModelHãy gọi HeaderFooterModel trên trường hợp này PageSetupModel.
PageOrientation()PageOrientationNhận hoặc đặt định hướng.
GetMargins()PageMarginsModelTạo mô hình trang margin.
GetMargins()PageMarginsModelTrở lại các ranh giới.
GetPrintOptions()PrintOptionsModelChọn mô hình tùy chọn in.
GetPrintOptions()PrintOptionsModelTrả lại các tùy chọn in.
GetHeaderFooter()HeaderFooterModelChọn Header Footer Model.
GetHeaderFooter()HeaderFooterModelTrở lại head footer.
GetPaperSize()intNhận hoặc đặt kích thước giấy.
SetPaperSize(value: int)Đặt giá trị kích thước giấy.
GetOrientation()PageOrientationNhận hoặc đặt định hướng.
SetOrientation(value: PageOrientation)Đặt giá trị định hướng.
GetFirstPageNumber()std::optional<int>Nhận hoặc đặt số trang đầu tiên.
SetFirstPageNumber(value: std::optional<int>)Đặt giá trị số trang đầu tiên.
GetScale()std::optional<int>Nhận hoặc đặt quy mô.
SetScale(value: std::optional<int>)Đặt giá trị quy mô.
GetFitToWidth()std::optional<int>Gets hoặc đặt phù hợp với chiều rộng.
SetFitToWidth(value: std::optional<int>)Đặt giá trị phù hợp với chiều rộng.
GetFitToHeight()std::optional<int>Gets hoặc đặt phù hợp với chiều cao.
SetFitToHeight(value: std::optional<int>)Đặt giá trị phù hợp với chiều cao.
GetPrintArea()std::stringNhận hoặc đặt khu vực in.
SetPrintArea(value: std::string)Đặt giá trị vùng in.
GetPrintTitleRows()std::stringNhận hoặc đặt dòng tiêu đề in.
SetPrintTitleRows(value: std::string)Đặt giá trị của dòng tiêu đề in.
GetPrintTitleColumns()std::stringNhận hoặc đặt các cột tiêu đề in.
SetPrintTitleColumns(value: std::string)Đặt giá trị của cột tiêu đề in.
GetHorizontalPageBreaks()std::vector<int>Nhận được các đoạn đường ngang của trang.
GetHorizontalPageBreaks()std::vector<int>Trở lại các đoạn đường ngang.
GetVerticalPageBreaks()std::vector<int>Nhận được các trang trượt dọc.
GetVerticalPageBreaks()std::vector<int>Trở lại các đoạn trượt trang.

See Also

 Tiếng Việt