to_border_box method

to_border_box

Places this element in a border-box

Returns

Border-box with this element placed inside

def to_border_box(self):
    ...

to_border_box

Places this element in a border-box

Returns

Border-box with this element placed inside

def to_border_box(self, hide_top, hide_bottom, hide_left, hide_right, strikethrough_horizontal, strikethrough_vertical, strikethrough_bottom_left_to_top_right, strikethrough_top_left_to_bottom_right):
    ...
ParameterTypeDescription
hide_topboolHide Top Edge
hide_bottomboolHide Bottom Edge
hide_leftboolHide Left Edge
hide_rightboolHide Right Edge
strikethrough_horizontalboolBorder Box Strikethrough Horizontal
strikethrough_verticalboolBorder Box Strikethrough Vertical
strikethrough_bottom_left_to_top_rightboolBorder Box Strikethrough Bottom-Left to Top-Right
strikethrough_top_left_to_bottom_rightboolBorder Box Strikethrough Top-Left to Bottom-Right

See Also