![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.Placeholder
com.aspose.powerpoint.TextHolder
public final class TextHolder
Represents the text placeholder.
Method Summary | |
---|---|
java.lang.String |
getAlternativeText()
Returns the alternative text associated with a textholder in a Web presentation. |
int |
getAnchorText()
Returns the anchor text in a TextHolder. |
FillFormat |
getFillFormat()
Returns the FillFormat object that contains fill formatting properties for a TextHolder. |
int |
getHeight()
Returns the height of a frame. |
LineFormat |
getLineFormat()
Returns the LineFormat object that contains line formatting properties for a TextHolder. |
Links |
getLinks()
Returns the list of all links in a frame. |
double |
getMarginBottom()
Returns the bottom margin (mm) in a TextHolder. |
double |
getMarginLeft()
Returns the left margin (mm) in a TextHolder. |
double |
getMarginRight()
Returns the right margin (mm) in a TextHolder. |
double |
getMarginTop()
Returns the top margin (mm) in a TextHolder. |
Paragraphs |
getParagraphs()
Returns the list of all paragraphs in a frame. |
boolean |
getRotateTextBy90Degrees()
|
Shape |
getShapeRef()
Returns the Shape object which contains real properties of a TextHolder. |
java.lang.String |
getText()
Returns the plain text for a TextHolder. |
int |
getWidth()
Returns the width of a frame. |
int |
getX()
Returns the x-coordinate of the upper-left corner of a frame. |
int |
getY()
Returns the y-coordinate of the upper-left corner of a frame. |
boolean |
isFitShapeToText()
Determines whether the TextHolder size fitted to the text. |
boolean |
isWrapText()
Determines whether the text is wrapped at TextHolder's margins. |
void |
setAlternativeText(java.lang.String value)
Sets the alternative text associated with a textholder in a Web presentation. |
void |
setAnchorText(int value)
Sets the anchor text in a TextHolder. |
void |
setFitShapeToText(boolean value)
Sets whether the TextHolder size fitted to the text. |
void |
setHeight(int value)
Sets the height of a frame. |
void |
setMarginBottom(double value)
Sets the bottom margin (mm) in a TextHolder. |
void |
setMarginLeft(double value)
Sets the left margin (mm) in a TextHolder. |
void |
setMarginRight(double value)
Sets the right margin (mm) in a TextHolder. |
void |
setMarginTop(double value)
Sets the top margin (mm) in a TextHolder. |
void |
setRotateTextBy90Degrees(boolean value)
|
void |
setWidth(int value)
Sets the width of a frame. |
void |
setWrapText(boolean value)
Sets whether the text is wrapped at TextHolder's margins. |
void |
setX(int value)
Sets the x-coordinate of the upper-left corner of a frame. |
void |
setY(int value)
Sets the y-coordinate of the upper-left corner of a frame. |
Methods inherited from class com.aspose.powerpoint.Placeholder |
---|
getParent, getPlaceholderType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public LineFormat getLineFormat()
LineFormat
object.public FillFormat getFillFormat()
FillFormat
object.public java.lang.String getText()
public Paragraphs getParagraphs()
Paragraphs
.public Links getLinks()
Links
.public java.lang.String getAlternativeText()
public void setAlternativeText(java.lang.String value)
value
- the alternative text.public Shape getShapeRef()
public int getX()
getX
in class Placeholder
public void setX(int value)
setX
in class Placeholder
value
- new x coordinate.public int getY()
getY
in class Placeholder
public void setY(int value)
setY
in class Placeholder
value
- new y coordinate.public int getWidth()
getWidth
in class Placeholder
public void setWidth(int value)
setWidth
in class Placeholder
value
- new width of a frame.public int getHeight()
getHeight
in class Placeholder
public void setHeight(int value)
setHeight
in class Placeholder
value
- new height of a frame.public double getMarginLeft()
public void setMarginLeft(double value) throws PptPropertyException
value
- new left margin.
PptPropertyException
public double getMarginRight()
public void setMarginRight(double value) throws PptPropertyException
value
- new right margin.
PptPropertyException
public double getMarginTop()
public void setMarginTop(double value) throws PptPropertyException
value
- new top margin.
PptPropertyException
public double getMarginBottom()
public void setMarginBottom(double value) throws PptPropertyException
value
- new bottom margin.
PptPropertyException
public int getAnchorText()
AnchorText
.public void setAnchorText(int value)
value
- new text anchor. See AnchorText
.public boolean isWrapText()
public void setWrapText(boolean value)
value
- true to wrap the text.public boolean isFitShapeToText()
public void setFitShapeToText(boolean value)
value
- true to fit TextHolder's size to the text.public boolean getRotateTextBy90Degrees()
public void setRotateTextBy90Degrees(boolean value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |