Borders Class |
When dealing with page borders and image borders, only four basic border options are provided: left border, top border, right border and bottom border. Any attempt to apply border designs beyond these four basic styles will result in the system issuing error notifications, ensuring that your actions comply with established rules.
When dealing with paragraph borders and table borders, only six basic border options are provided: left border, top border, right border, bottom border, horizontal border and vertical border. Any attempt to apply border designs beyond these six basic styles will result in the system issuing error notifications, ensuring that your actions comply with established rules.
When dealing with cell borders, only six basic border options are provided: left border, top border, right border, bottom border, diagonalDown border and diagonalUp border. Any attempt to apply border designs beyond these six basic styles will result in the system issuing error notifications, ensuring that your actions comply with established rules.
Namespace: Spire.Doc.Documents
The Borders type exposes the following members.
Name | Description | |
---|---|---|
![]() |
BorderType |
Sets style of the borders.
|
![]() |
Bottom |
Gets bottom border.
|
![]() |
Color |
Gets or sets color of the borders.
|
![]() |
Count |
Gets the total number of possible border positions available for this borders.
|
![]() |
DiagonalDown |
Gets the border applied diagonally downwards.
|
![]() |
DiagonalUp |
Gets the border applied diagonally upwards.
|
![]() |
Document |
Gets the document.
(Inherited from
OwnerHolder
.)
|
![]() |
Horizontal |
Gets horizontal border.
|
![]() |
IsShadow |
Gets or sets whether borders are drawn with shadow.
|
![]() |
Item Int32 |
This indexer provides access to the border property based on the index.
|
![]() |
Item BorderPositions |
This indexer provides access to the border property based on the specified border position.
|
![]() |
Left |
Gets left border.
|
![]() |
LineWidth |
Gets or sets width of the borders.
|
![]() |
NoBorder |
Gets whether the border exists
|
![]() |
Right |
Gets right border.
|
![]() |
Space |
Gets or sets the width of space to maintain between borders and text within borders.
|
![]() |
Top |
Gets top border.
|
![]() |
Vertical |
Gets vertical border.
|
![]() |
XDLSHolder | (Inherited from DocumentSerializable .) |
Name | Description | |
---|---|---|
![]() |
ClearFormatting |
Clears formatting for each border in the borders.
|
![]() |
CloneImpl | (Inherited from DocumentSerializable .) |
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
GetEnumerator | |
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
InitXDLSHolder | (Overrides DocumentSerializable InitXDLSHolder .) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ReadXmlAttributes | (Inherited from DocumentSerializable .) |
![]() |
ReadXmlContent | (Inherited from DocumentSerializable .) |
![]() |
RestoreReference | (Inherited from DocumentSerializable .) |
![]() |
SetBordersAttribute |
Sets the border attributes for the specified border type, line width, and color.
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
![]() |
WriteXmlAttributes | (Inherited from DocumentSerializable .) |
![]() |
WriteXmlContent | (Inherited from DocumentSerializable .) |
Name | Description | |
---|---|---|
![]() |
m_doc | (Inherited from OwnerHolder .) |