LineFormat — Aspose.Slides FOSS for C++ API Reference

The LineFormat class controls line/border properties for shapes, including dash style, cap style, join style, width, and arrowheads.

Namespace: Aspose::Slides::Foss

#include <Aspose/Slides/Foss/line_format.h>
class LineFormat

Header: include/Aspose/Slides/Foss/line_format.h


Properties

PropertyAccessorDescription
fill_format()ReadLineFillFormat for the line fill.
dash_style()ReadLineDashStyle (Solid, Dash, Dot, etc.).
cap_style()ReadLineCapStyle (Flat, Round, Square).
style()ReadLineStyle (Single, Double, etc.).
alignment()ReadLineAlignment alignment setting.
join_style()ReadLineJoinStyle (Miter, Round, Bevel).
begin_arrowhead_style()ReadStart arrowhead style.
begin_arrowhead_width()ReadStart arrowhead width.
begin_arrowhead_length()ReadStart arrowhead length.
end_arrowhead_style()ReadEnd arrowhead style.
end_arrowhead_width()ReadEnd arrowhead width.
end_arrowhead_length()ReadEnd arrowhead length.

LineFillFormat

The LineFillFormat class (from line_fill_format.h) controls how the line itself is filled:

PropertyDescription
fill_type()FillType for the line fill.
solid_fill_color()SimpleColorFormat for solid line fill.
gradient_format()GradientFormat for gradient line fill.
pattern_format()PatternFormat for pattern line fill.

See Also