次の方法で共有


LeftBorder Class

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

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class LeftBorder _
    Inherits BorderType
'使用
Dim instance As LeftBorder
public class LeftBorder : BorderType

Remarks

[ISO/IEC 29500-1 初版]

14.3.2.3 borderleft (Left Border)

This element represents the properties for the left 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LeftBorder Members

DocumentFormat.OpenXml.Vml.Wordprocessing Namespace