ASPOSE home

com.aspose.words
Class TextBox

java.lang.Object
    extended by com.aspose.words.TextBox

public class TextBox
extends java.lang.Object

Defines attributes that specify how a text is displayed inside a shape.

Use the Shape.TextBox property to access text properties of a shape. You do not create instances of the TextBox class directly.

See Also:
Shape.TextBox

Property Getters/Setters Summary
doublegetInternalMarginBottom()
voidsetInternalMarginBottom(double value)
           Specifies the inner bottom margin in points for a shape.
doublegetInternalMarginLeft()
voidsetInternalMarginLeft(double value)
           Specifies the inner left margin in points for a shape.
doublegetInternalMarginRight()
voidsetInternalMarginRight(double value)
           Specifies the inner right margin in points for a shape.
doublegetInternalMarginTop()
voidsetInternalMarginTop(double value)
           Specifies the inner top margin in points for a shape.
intgetLayoutFlow()
voidsetLayoutFlow(int value)
           Determines the flow of the text layout in a shape. The value of the property is LayoutFlow integer constant.
 

Property Getters/Setters Detail

getInternalMarginLeft/setInternalMarginLeft

public double getInternalMarginLeft()

public void setInternalMarginLeft(double value)
Specifies the inner left margin in points for a shape.

The default value is 1/10 inch.


getInternalMarginRight/setInternalMarginRight

public double getInternalMarginRight()

public void setInternalMarginRight(double value)
Specifies the inner right margin in points for a shape.

The default value is 1/10 inch.


getInternalMarginTop/setInternalMarginTop

public double getInternalMarginTop()

public void setInternalMarginTop(double value)
Specifies the inner top margin in points for a shape.

The default value is 1/20 inch.


getInternalMarginBottom/setInternalMarginBottom

public double getInternalMarginBottom()

public void setInternalMarginBottom(double value)
Specifies the inner bottom margin in points for a shape.

The default value is 1/20 inch.


getLayoutFlow/setLayoutFlow

public int getLayoutFlow()

public void setLayoutFlow(int value)
Determines the flow of the text layout in a shape. The value of the property is LayoutFlow integer constant.

The default value is LayoutFlow.HORIZONTAL.


See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home