Package com.independentsoft.office.word.drawing

# Class WrapTopBottom

java.lang.Object
com.independentsoft.office.word.drawing.WrapType
com.independentsoft.office.word.drawing.WrapTopBottom

public class WrapTopBottom extends WrapType
The Class WrapTopBottom.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WrapTopBottom()`
  Instantiates a new wrap top bottom.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `WrapTopBottom`
  `clone()`
  `Unit`
  `getDistanceBetweenTextAndBottomEdge()`
  Gets the distance between text and bottom edge.
  `Unit`
  `getDistanceBetweenTextAndTopEdge()`
  Gets the distance between text and top edge.
  `EffectExtent`
  `getEffectExtent()`
  Gets the effect extent.
  `void`
  `setDistanceBetweenTextAndBottomEdge​(Unit distanceBetweenTextAndBottomEdge)`
  Sets the distance between text and bottom edge.
  `void`
  `setDistanceBetweenTextAndTopEdge​(Unit distanceBetweenTextAndTopEdge)`
  Sets the distance between text and top edge.
  `void`
  `setEffectExtent​(EffectExtent effectExtent)`
  Sets the effect extent.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### WrapTopBottom

    public WrapTopBottom()
    Instantiates a new wrap top bottom.

- ## Method Details

  - ### clone

    public WrapTopBottom clone()
    Specified by:
      `clone` in class `WrapType`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getDistanceBetweenTextAndBottomEdge

    public Unit getDistanceBetweenTextAndBottomEdge()
    Gets the distance between text and bottom edge.
    Returns:
      the distance between text and bottom edge

  - ### setDistanceBetweenTextAndBottomEdge

    public void setDistanceBetweenTextAndBottomEdge​(Unit distanceBetweenTextAndBottomEdge)
    Sets the distance between text and bottom edge.
    Parameters:
      `distanceBetweenTextAndBottomEdge` - the new distance between text and bottom edge

  - ### getDistanceBetweenTextAndTopEdge

    public Unit getDistanceBetweenTextAndTopEdge()
    Gets the distance between text and top edge.
    Returns:
      the distance between text and top edge

  - ### setDistanceBetweenTextAndTopEdge

    public void setDistanceBetweenTextAndTopEdge​(Unit distanceBetweenTextAndTopEdge)
    Sets the distance between text and top edge.
    Parameters:
      `distanceBetweenTextAndTopEdge` - the new distance between text and top edge

  - ### getEffectExtent

    public EffectExtent getEffectExtent()
    Gets the effect extent.
    Returns:
      the effect extent

  - ### setEffectExtent

    public void setEffectExtent​(EffectExtent effectExtent)
    Sets the effect extent.
    Parameters:
      `effectExtent` - the new effect extent