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


BevelTop Class

Defines the BevelTop Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:bevelT.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.BevelType
        DocumentFormat.OpenXml.Office2010.Word.BevelTop

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class BevelTop _
    Inherits BevelType
'Usage
Dim instance As BevelTop
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class BevelTop : BevelType

Remarks

2.5.21 CT_Bevel

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: CT_Props3D

Specifies the bevel properties.

Attributes:

w : An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies the width of bevel. This attribute MAY<17> be limited further in the application. Default value for this attribute is 0.

h : An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies the height of bevel. This attribute MAY<18> be limited further in the application. Default value for this attribute is 0.

prst : An optional ST_BevelPresetType attribute that specifies the preset bevel type that defines the look of bevel. Default value for this attribute is circle preset type.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Bevel">

<xsd:attribute name="w" type="a:ST_PositiveCoordinate" use="optional"/>

<xsd:attribute name="h" type="a:ST_PositiveCoordinate" use="optional"/>

<xsd:attribute name="prst" type="ST_BevelPresetType" use="optional"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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.Office2010.Word Namespace