Border

Overview

Border is a struct in Aspose.Cells FOSS for Rust. Inherits from: Debug, Clone, PartialEq, and 3 more.

Represents border.

This struct provides 10 methods for working with Border objects in Rust programs. Available methods include: clear_color, copy_from, get_color, get_line_style, get_line_style_type, line_style_type, new, set_color, set_line_style, set_line_style_type. All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package. Fields: color, line_style.

Fields

NameTypeAccessDescription
line_styleBorderLineStyleRead/WriteGets the line style.
colorOption<String>Read/WriteGets the color.

Methods

SignatureDescription
new()SelfInitializes a new instance.
line_style_type()BorderStyleTypeGets the associated value.
get_line_style_type()BorderStyleTypeGets the associated value.
get_line_style()BorderLineStyleGets the line style.
set_line_style_type(value: BorderStyleType)Sets the associated value.
set_line_style(value: BorderLineStyle)Sets the line style.
get_color()Option<&str>Gets the color.
set_color(value: impl Into<String>)Sets the color.
clear_color()Clears color.
copy_from(source: &Border)Copies border values from another border instance.

See Also