Partager via


PercentagePositionHeightOffset Class

Defines the PercentagePositionHeightOffset Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is wp14:pctPosHOffset.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Office2010.Word.Drawing.PercentagePositionHeightOffset

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

Syntax

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

Remarks

2.3.30 pctPosHOffset

Target namespace: https://schemas.microsoft.com/office/word/2008/9/16/wordprocessingDrawing

Child element of: [ISO/IEC-29500-1] section §20.4.2.10 positionH (Horizontal positioning).

An ST_Percentage (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) element that specifies the horizontal offset.

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

<xsd:element name="pctPosHOffset" type="a:ST_Percentage"/>

See section 5.12 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

PercentagePositionHeightOffset Members

DocumentFormat.OpenXml.Office2010.Word.Drawing Namespace