docx
    Preparing search index...

    Function createTableFloatProperties

    • Creates floating table properties in a WordprocessingML document.

      This element specifies the positioning of a floating table, including anchor points, offsets, and text wrapping behavior.

      Reference: http://officeopenxml.com/WPtableFloating.php

      <xsd:complexType name="CT_TblPPr">
      <xsd:attribute name="leftFromText" type="s:ST_TwipsMeasure"/>
      <xsd:attribute name="rightFromText" type="s:ST_TwipsMeasure"/>
      <xsd:attribute name="topFromText" type="s:ST_TwipsMeasure"/>
      <xsd:attribute name="bottomFromText" type="s:ST_TwipsMeasure"/>
      <xsd:attribute name="vertAnchor" type="ST_VAnchor"/>
      <xsd:attribute name="horzAnchor" type="ST_HAnchor"/>
      <xsd:attribute name="tblpXSpec" type="s:ST_XAlign"/>
      <xsd:attribute name="tblpX" type="ST_SignedTwipsMeasure"/>
      <xsd:attribute name="tblpYSpec" type="s:ST_YAlign"/>
      <xsd:attribute name="tblpY" type="ST_SignedTwipsMeasure"/>
      </xsd:complexType>

      Parameters

      Returns XmlComponent

      createTableFloatProperties({
      horizontalAnchor: TableAnchorType.MARGIN,
      relativeHorizontalPosition: RelativeHorizontalPosition.CENTER,
      topFromText: 200,
      bottomFromText: 200,
      });