Freigeben über


RightBorder-Klasse

Right Border.When the object is serialized out as xml, its qualified name is w10:borderright.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Vml.Wordprocessing.BorderType
        DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder

Namespace:  DocumentFormat.OpenXml.Vml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RightBorder _
    Inherits BorderType
'Usage
Dim instance As RightBorder
public class RightBorder : BorderType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

14.3.2.4 borderright (Right Border)

This element specifies the properties for the right border of a VML object.

Parent Elements

arc (§14.1.2.1); curve (§14.1.2.3); group (§14.1.2.7); image (§14.1.2.10); line (§14.1.2.12); oval (§14.1.2.13); polyline (§14.1.2.15); rect (§14.1.2.16); roundrect (§14.1.2.17); shape (§14.1.2.19); shapetype (§14.1.2.20)

Attributes

Description

shadow (Border shadow)

Specifies whether this border should be modified to create the appearance of a shadow.

For the right and bottom borders, this is accomplished by duplicating the border below and right of the normal border location. For the left and top borders, this is accomplished by moving the border down and to the right of its original location.

If this attribute is omitted, then the border is not given the shadow effect.

[Example: Consider a top border which must appear with a shadow effect, resulting in the following content:

<wd:bordertop wd:shadow="true" … />

This element's shadow attribute is true, indicating that the shadow effect must be applied to the border. end example]

The possible values for this attribute are defined by the ST_BorderShadow simple type (§14.3.3.1).

type (Border Style)

Specifies the style of border used on this object.

See the simple type definition for a description of each border style.

[Example: Consider a left border resulting in the following WordprocessingML:

<wd:borderleft wd:type="single" …/>

This border's type is single, indicating that the border style is a single line. end example]

The possible values for this attribute are defined by the ST_BorderType simple type (§14.3.3.2).

width (Border Width)

Specifies the width of the current border.

The width of this border is specified in measurements of eighths of a point, with a minimum value of two (one-fourth of a point) and a maximum value of 96 (twelve points). Any values outside this range can be reassigned to a more appropriate value.

[Example: Consider a document with a three point wide dashed line border on all sides, resulting in the following WordprocessingML markup:

<wd:bordertop wd:type="dashed" wd:width="24" …/>
<wd:borderleft wd:type="dashed" wd:width="24" …/>
<wd:borderbottom wd:type="dashed" wd:width="24" …/>
<wd:borderright wd:type="dashed" wd:width="24" …/>

The width attribute specifies the size in eighths of a point (24 eighths of a point = 3 points). end example]

The possible values for this attribute are defined by the W3C XML Schema positiveInteger datatype.

[Note: The W3C XML Schema definition of this element's content model (CT_Border) is located in §A.6.3. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

RightBorder-Member

DocumentFormat.OpenXml.Vml.Wordprocessing-Namespace