Поделиться через


BevelTop Class

Top Bevel.When the object is serialized out as xml, its qualified name is a:bevelT.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.BevelType
        DocumentFormat.OpenXml.Drawing.BevelTop

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

Syntax

'Declaration
Public Class BevelTop _
    Inherits BevelType
'Usage
Dim instance As BevelTop
public class BevelTop : BevelType

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.5.4 bevelT (Top Bevel)

This element holds the properties associated with defining a bevel on the top or front face of a shape.

[Example: Consider the following example of an sp3d containing a top bevel.

<a:sp3d>
<a:bevelT w="139700" h="127000" prst="coolSlant"/>
</a:sp3d>

In this example, we see a top bevel being defined with a preset bevel type along with a custom width and height. end example]

Parent Elements

sp3d (§21.4.5.6); sp3d (§20.1.5.12)

Attributes

Description

h (Height)

Specifies the height of the bevel, or how far above the shape it is applied.

[Example: Consider the following example bevel

DocumentFormat.OpenXml.Drawing.BevelTop-image001

In this example, we see the height of an example bevel on a shape. end example]

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

prst (Preset Bevel)

Specifies the preset bevel type which defines the look of the bevel.

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

w (Width)

Specifies the width of the bevel, or how far into the shape it is applied.

[Example: Consider the following example bevel

DocumentFormat.OpenXml.Drawing.BevelTop-image002

In this example, we see the width of an example bevel on a shape. end example]

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Bevel) 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

BevelTop Members

DocumentFormat.OpenXml.Drawing Namespace