LineFormat
Overview
LineFormat là một lớp trong Aspose.Slides FOSS cho C++.
Nó đại diện cho các thuộc tính định dạng đường (outline).
Khóa học này cung cấp 54 phương pháp để làm việc với các đối tượng LineFormat trong các chương trình C++. Các phương pháp có sẵn bao gồm: LineAlignment, LineArrowheadLength, LineArrowheadStyle, LineArrowheadWidth, LineCapStyle, LineDashStyle, LineFillFormat, LineFormat, LineJoinStyle, LineStyle, alignment, begin_arrowhead_length,37 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.Slides FOSS cho gói C ++. Tài sản : LineAlignment, LineArrowheadLength, LineArrowheadStyle, LineArrowheadWidth, LineCapStyle, LineDashStyle,Và 3 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LineFillFormat | LineFillFormat | Read | Gửi dòng đầy định dạng. |
LineDashStyle | LineDashStyle | Read | Có được dòng dash style. |
LineCapStyle | LineCapStyle | Read | Có được phong cách Cap Line. |
LineStyle | LineStyle | Read | Có được phong cách đường. |
LineAlignment | LineAlignment | Read | Nhận được sự phù hợp của dòng. |
LineJoinStyle | LineJoinStyle | Read | Getting line join style. - Lớp nối theo phong cách. |
LineArrowheadStyle | LineArrowheadStyle | Read | Có được dòng arrowhead phong cách. |
LineArrowheadWidth | LineArrowheadWidth | Read | Nhận đường dây arrowhead rộng. |
LineArrowheadLength | LineArrowheadLength | Read | Nhận đường dài đầu gối. |
Methods
| Signature | Description |
|---|---|
LineFillFormat() → LineFillFormat | Cung cấp quyền truy cập vào dòng lấp đầy định dạng đối tượng |
LineFillFormat() → LineFillFormat | |
LineDashStyle() → LineDashStyle | Trở lại danh sách kiểu dash cho dòng |
LineCapStyle() → LineCapStyle | Trở lại kiểu cap của danh sách cho kết thúc dòng |
LineStyle() → LineStyle | Nhận hoặc đặt phong cách đường chung (tự nhiên, vv) |
LineAlignment() → LineAlignment | Trả lại danh sách phù hợp của dòng liên quan đến hình dạng |
LineJoinStyle() → LineJoinStyle | Trở lại danh sách phong cách tham gia cho góc đường |
LineArrowheadStyle() → LineArrowheadStyle | Trở lại kiểu arrowhead cho kết thúc dòng |
LineArrowheadWidth() → LineArrowheadWidth | Trả về danh sách chiều rộng đầu gạch cho kết thúc đường dây |
LineArrowheadLength() → LineArrowheadLength | Trả về số lượng chiều dài đầu gạch cho kết thúc đường dây |
LineArrowheadStyle() → LineArrowheadStyle | |
LineArrowheadWidth() → LineArrowheadWidth | |
LineArrowheadLength() → LineArrowheadLength | |
LineFormat() | |
~LineFormat() | |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>, ln_tag: std::string_view) | Initialize XML-backed line format. (ví dụ, , ). ( ví dụ: “a:uLn” cho underline). |
get_ln() → pugi::xml_node | Nhận được yếu tố nếu nó tồn tại. |
ensure_ln() → pugi::xml_node | Nhận hoặc tạo thành các yếu tố ở vị trí OOXML đúng. Đối với trẻ em spPr: xfrm, địa phương, ln, hiệu ứng. đối với tcPr trẻ: ltL, nr, tnT, mnB, sntlToBr, bnbltoTr. |
insert_ln_child(ln: pugi::xml_node, tag: std::string_view) → pugi::xml_node | Nhập một yếu tố trẻ em vào vị trí OOXML đúng. |
save() | Lưu các thay đổi thông qua Save Callback. |
serialize_to_xml(sp_pr: pugi::xml_node) | Xét định dạng trong dòng bộ nhớ trạng thái XML dưới node spPr. Sử dụng trong Presentation::save() cho các hình thức mà không có hỗ trợ XML. |
get_arrow_attr(end_tag: std::string_view, attr: std::string_view) → std::optional<std::string> | Nhận một Arrowhead attribute giá trị. |
set_arrow_attr(end_tag: std::string_view, attr: std::string_view, value: std::optional<std::string>) | Thiết lập một giá trị atribute arrowhead. |
is_format_not_defined() → bool | Trở lại đúng nếu định dạng dòng không được xác định (tất cả các lỗi mặc định). |
fill_format() → LineFillFormat | Trả lại định dạng đầy của một dòng. |
fill_format() → LineFillFormat | Trả lại định dạng đầy của một dòng. |
width() → double | Trở lại chiều rộng đường bằng điểm. |
set_width(value: double) | |
dash_style() → LineDashStyle | Trở lại phong cách dash line. |
set_dash_style(value: LineDashStyle) | |
custom_dash_pattern() → std::vector<float> | Trở lại mẫu Dash tùy chỉnh. |
set_custom_dash_pattern(value: std::vector<float>) | |
cap_style() → LineCapStyle | Trở lại phong cách Cap Line. |
set_cap_style(value: LineCapStyle) | |
style() → LineStyle | Trở lại phong cách đường (một, đôi, vv). |
set_style(value: LineStyle) | |
alignment() → LineAlignment | Lại lấy lại dòng kết hợp. |
set_alignment(value: LineAlignment) | |
join_style() → LineJoinStyle | Trở lại dòng kết nối phong cách. |
set_join_style(value: LineJoinStyle) | |
miter_limit() → double | Trở lại giới hạn đo của một dòng. |
set_miter_limit(value: double) | |
begin_arrowhead_style() → LineArrowheadStyle | Trở lại phong cách đầu tiên của arrowhead. |
set_begin_arrowhead_style(value: LineArrowheadStyle) | |
begin_arrowhead_width() → LineArrowheadWidth | Trở lại chiều rộng đầu tiên của gạch. |
set_begin_arrowhead_width(value: LineArrowheadWidth) | |
begin_arrowhead_length() → LineArrowheadLength | Trở lại chiều dài đầu tiên của mũi tên. |
set_begin_arrowhead_length(value: LineArrowheadLength) | |
end_arrowhead_style() → LineArrowheadStyle | Trở lại phong cách cuối cùng của arrowhead. |
set_end_arrowhead_style(value: LineArrowheadStyle) | |
end_arrowhead_width() → LineArrowheadWidth | Trở lại chiều rộng cuối của đầu gậy. |
set_end_arrowhead_width(value: LineArrowheadWidth) | |
end_arrowhead_length() → LineArrowheadLength | Trở lại chiều dài đầu gối cuối. |
set_end_arrowhead_length(value: LineArrowheadLength) |