Partager via


Outline Class

Defines the Outline Class.When the object is serialized out as xml, its qualified name is a:ln.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.LinePropertiesType
        DocumentFormat.OpenXml.Drawing.Outline

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Outline _
    Inherits LinePropertiesType
'Usage
Dim instance As Outline
public class Outline : LinePropertiesType

Remarks

The following table lists the possible child types:

  • NoFill <a:noFill>

  • SolidFill <a:solidFill>

  • GradientFill <a:gradFill>

  • PatternFill <a:pattFill>

  • PresetDash <a:prstDash>

  • CustomDash <a:custDash>

  • Round <a:round>

  • LineJoinBevel <a:bevel>

  • Miter <a:miter>

  • HeadEnd <a:headEnd>

  • TailEnd <a:tailEnd>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.24 ln (Outline)

This element specifies an outline style that can be applied to a number of different objects such as shapes and text. The line allows for the specifying of many different types of outlines including even line dashes and bevels.

Parent Elements

bottom (§20.1.4.2.6); defRPr (§21.1.2.3.2); endParaRPr (§21.1.2.2.3); insideH (§20.1.4.2.14); insideV (§20.1.4.2.15); left (§20.1.4.2.18); lnStyleLst (§20.1.4.1.21); right (§20.1.4.2.22); rPr (§21.1.2.3.9); spPr (§21.2.2.197); spPr (§21.3.2.23); spPr (§21.4.3.7); spPr (§20.1.2.2.35); spPr (§20.2.2.6); spPr (§20.5.2.30); spPr (§19.3.1.44); tl2br (§20.1.4.2.31); top (§20.1.4.2.32); tr2bl (§20.1.4.2.33); whole (§21.4.3.9)

Child Elements

Subclause

bevel (Line Join Bevel)

§20.1.8.9

custDash (Custom Dash)

§20.1.8.21

extLst (Extension List)

§20.1.2.2.15

gradFill (Gradient Fill)

§20.1.8.33

headEnd (Line Head/End Style)

§20.1.8.38

miter (Miter Line Join)

§20.1.8.43

noFill (No Fill)

§20.1.8.44

pattFill (Pattern Fill)

§20.1.8.47

prstDash (Preset Dash)

§20.1.8.48

round (Round Line Join)

§20.1.8.52

solidFill (Solid Fill)

§20.1.8.54

tailEnd (Tail line end style)

§20.1.8.57

Attributes

Description

algn (Stroke Alignment)

Specifies the alignment to be used for the underline stroke.

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

cap (Line Ending Cap Type)

Specifies the ending caps that should be used for this line. [Note: Examples of cap types are rounded, flat, etc. end note] If this attribute is omitted, than a value of square is assumed.

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

cmpd (Compound Line Type)

Specifies the compound line type to be used for the underline stroke. If this attribute is omitted, then a value of sng is assumed.

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

w (Line Width)

Specifies the width to be used for the underline stroke. If this attribute is omitted, then a value of 0 is assumed.

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

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

© ISO/IEC29500: 2008.

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

Outline Members

DocumentFormat.OpenXml.Drawing Namespace