com.aspose.slides
Class TextFrameEx

java.lang.Object
  extended by com.aspose.slides.TextFrameEx

public final class TextFrameEx
extends java.lang.Object

Represents a TextFrame.


Method Summary
 byte getAnchoringType()
           Returns or sets vertical anchor text in a TextFrameEx.
 byte getAutofitType()
           Returns or sets text's autofit mode.
 boolean getCenterText()
           Determines, whether text should be centered in box horizontally.
 double getMarginBottom()
           Returns or sets the bottom margin (points) in a TextFrame.
 double getMarginLeft()
           Returns or sets the left margin (points) in a TextFrame.
 double getMarginRight()
           Returns or sets the right margin (points) in a TextFrame.
 double getMarginTop()
           Returns or sets the top margin (points) in a TextFrame.
 ParagraphExCollection getParagraphs()
           Returns the list of all paragraphs in a frame.
 PresentationEx getPresentation()
           Returns the parent presentation of a TextFrameEx.
 BaseSlideEx getSlide()
           Returns the parent slide of a TextFrameEx.
 java.lang.String getText()
           Gets or sets the plain text for a TextFrame.
 TextStyleEx getTextStyle()
           Returns text's style.
 byte getTextVerticalType()
           Determines text orientation.
 boolean getWrapText()
           <b>True</b> if text is wrapped at TextFrame's margins.
 void setAnchoringType(byte value)
           
 void setAutofitType(byte value)
           
 void setCenterText(boolean value)
           
 void setMarginBottom(double value)
           
 void setMarginLeft(double value)
           
 void setMarginRight(double value)
           
 void setMarginTop(double value)
           
 void setText(java.lang.String value)
           
 void setTextVerticalType(byte value)
           
 void setWrapText(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParagraphs

public ParagraphExCollection getParagraphs()

Returns the list of all paragraphs in a frame. Read-only ParagraphExCollection.


getText

public java.lang.String getText()

Gets or sets the plain text for a TextFrame.

Value: The text.


setText

public void setText(java.lang.String value)

getTextStyle

public TextStyleEx getTextStyle()

Returns text's style. Readonly TextStyleEx.


getMarginLeft

public double getMarginLeft()

Returns or sets the left margin (points) in a TextFrame. Read/write double.


setMarginLeft

public void setMarginLeft(double value)

getMarginRight

public double getMarginRight()

Returns or sets the right margin (points) in a TextFrame. Read/write double.


setMarginRight

public void setMarginRight(double value)

getMarginTop

public double getMarginTop()

Returns or sets the top margin (points) in a TextFrame. Read/write double.


setMarginTop

public void setMarginTop(double value)

getMarginBottom

public double getMarginBottom()

Returns or sets the bottom margin (points) in a TextFrame. Read/write double.


setMarginBottom

public void setMarginBottom(double value)

getWrapText

public boolean getWrapText()

<b>True</b> if text is wrapped at TextFrame's margins. Read/write bool.


setWrapText

public void setWrapText(boolean value)

getAnchoringType

public byte getAnchoringType()

Returns or sets vertical anchor text in a TextFrameEx. Read/write TextAnchorTypeEx.


setAnchoringType

public void setAnchoringType(byte value)

getCenterText

public boolean getCenterText()

Determines, whether text should be centered in box horizontally. Read/write bool.


setCenterText

public void setCenterText(boolean value)

getTextVerticalType

public byte getTextVerticalType()

Determines text orientation. Read/write TextVerticalTypeEx.


setTextVerticalType

public void setTextVerticalType(byte value)

getAutofitType

public byte getAutofitType()

Returns or sets text's autofit mode. Read/write TextAutofitTypeEx.


setAutofitType

public void setAutofitType(byte value)

getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a TextFrameEx. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a TextFrameEx. Read-only PresentationEx.