Xbasic

Office::BorderStyle Enumeration

Description

Defines the styles available when defining borders for an Office::Format.

Style
Description
Office::BorderStyle::None

Value = 0

Office::BorderStyle::Thin

Value = 1

Office::BorderStyle::Medium

Value = 2

Office::BorderStyle::Dashed

Value = 3

Office::BorderStyle::Dotted

Value = 4

Office::BorderStyle::Thick

Value = 5

Office::BorderStyle::Double

Value = 6

Office::BorderStyle::Hair

Value = 7

Office::BorderStyle::MediumDashed

Value = 8

Office::BorderStyle::DashDot

Value = 9

Office::BorderStyle::MediumDashDot

Value = 10

Office::BorderStyle::DashDotDot

Value = 11

Office::BorderStyle::MediumDashDotDot

Value = 12

Office::BorderStyle::SlantDashDot

Value = 13

Example 

The following example demonstrates setting the border style for an Office::Format object in an Office::ExcelDocument object:

dim document as Office::ExcelDocument
dim font as Office::Font

font = document.getFont(1)
font.script = Office::Script::Super
showvar(font)