LineFormat
Overview
LineFormat is a class in Aspose.Slides FOSS for C++.
Represents the line (outline) formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LineFillFormat | LineFillFormat | Read | Provides access to the line fill formatting object |
LineDashStyle | LineDashStyle | Read | Returns the dash style enumeration for the line |
LineCapStyle | LineCapStyle | Read | Returns the cap style enumeration for the line ends |
LineStyle | LineStyle | Read | Gets or sets the overall line style (solid, etc.) |
LineAlignment | LineAlignment | Read | Returns the alignment enumeration of the line relative to shape |
LineJoinStyle | LineJoinStyle | Read | Returns the join style enumeration for line corners |
LineArrowheadStyle | LineArrowheadStyle | Read | Returns the arrowhead style enumeration for line ends |
LineArrowheadWidth | LineArrowheadWidth | Read | Returns the arrowhead width enumeration for line ends |
LineArrowheadLength | LineArrowheadLength | Read | Returns the arrowhead length enumeration for line ends |
Methods
| Signature | Description |
|---|---|
LineFillFormat() → LineFillFormat | Provides access to the line fill formatting object |
LineFillFormat() → LineFillFormat | |
LineDashStyle() → LineDashStyle | Returns the dash style enumeration for the line |
LineCapStyle() → LineCapStyle | Returns the cap style enumeration for the line ends |
LineStyle() → LineStyle | Gets or sets the overall line style (solid, etc.) |
LineAlignment() → LineAlignment | Returns the alignment enumeration of the line relative to shape |
LineJoinStyle() → LineJoinStyle | Returns the join style enumeration for line corners |
LineArrowheadStyle() → LineArrowheadStyle | Returns the arrowhead style enumeration for line ends |
LineArrowheadWidth() → LineArrowheadWidth | Returns the arrowhead width enumeration for line ends |
LineArrowheadLength() → LineArrowheadLength | Returns the arrowhead length enumeration for line ends |
LineArrowheadStyle() → LineArrowheadStyle | |
LineArrowheadWidth() → LineArrowheadWidth | |
LineArrowheadLength() → LineArrowheadLength | |
init_internal(parent_element: pugi::xml_node, save_callback: std::function<void()>, ln_tag: std::string_view) | Initialize XML-backed line format. (e.g., , ). (e.g., “a:uLn” for underline). |
get_ln() → pugi::xml_node | Get the element if it exists. |
ensure_ln() → pugi::xml_node | Get or create the element at the correct OOXML position. For spPr children: xfrm, geometry, fill, ln, effects. For tcPr children: lnL, lnR, lnT, lnB, lnTlToBr, lnBlToTr. |
insert_ln_child(ln: pugi::xml_node, tag: std::string_view) → pugi::xml_node | Insert a child element into at the correct OOXML position. |
save() | Save changes via the save callback. |
serialize_to_xml(sp_pr: pugi::xml_node) | Serialize the in-memory line format state to XML under the given spPr node. Used during Presentation::save() for shapes without XML backing. |
get_arrow_attr(end_tag: std::string_view, attr: std::string_view) → std::optional<std::string> | Get an arrowhead attribute value. |
set_arrow_attr(end_tag: std::string_view, attr: std::string_view, value: std::optional<std::string>) | Set an arrowhead attribute value. |