@Deprecated public class WordsShape extends ShapeSearchAdapter implements IRotatableTwoDObject
Represents a drawing shape in a Word document.
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeText()
Deprecated.
Gets the descriptive (alternative) text associated with this
WordsShape . |
boolean |
getBehindText()
Deprecated.
Gets a value indicating whether the shape is over or behind the text.
|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Deprecated.
Gets the collection of formatted text fragments of this
WordsShape . |
WordsHeaderFooter |
getHeaderFooter()
Deprecated.
Gets the parent header/footer of this
WordsShape (if presents). |
double |
getHeight()
Deprecated.
Gets the height of this
WordsShape in points. |
int |
getHorizontalAlignment()
Deprecated.
Gets a value specifying how the shape is positioned horizontally.
|
String |
getHyperlink()
Deprecated.
Gets the hyperlink associated with this
WordsShape . |
WordsWatermarkableImage |
getImage()
Deprecated.
Gets the image of this
WordsShape . |
String |
getName()
Deprecated.
Gets the name of this
WordsShape . |
int |
getRelativeHorizontalPosition()
Deprecated.
Gets a value specifying to what the shape is positioned horizontally.
|
int |
getRelativeVerticalPosition()
Deprecated.
Gets a value specifying to what the shape is positioned vertically.
|
double |
getRotateAngle()
Deprecated.
Gets the rotate angle of this
WordsShape in degrees. |
WordsSection |
getSection()
Deprecated.
Gets the parent section of this
WordsShape . |
int |
getShapeType()
Deprecated.
Gets the shape type.
|
String |
getText()
Deprecated.
Gets the text of this
WordsShape . |
int |
getVerticalAlignment()
Deprecated.
Gets a value specifying how the shape is positioned vertically.
|
double |
getWidth()
Deprecated.
Gets the width of this
WordsShape in points. |
double |
getX()
Deprecated.
Gets the horizontal offset of this
WordsShape from page left border in points. |
double |
getY()
Deprecated.
Gets the vertical offset of this
WordsShape from page top border in points. |
boolean |
isWordArt()
Deprecated.
Gets a value indicating whether this
WordsShape is a WordArt object. |
void |
setAlternativeText(String value)
Deprecated.
Sets the descriptive (alternative) text associated with this
WordsShape . |
void |
setBehindText(boolean value)
Deprecated.
Sets a value indicating whether the shape is over or behind the text.
|
void |
setHeight(double value)
Deprecated.
Sets the height of this
WordsShape in points. |
void |
setHyperlink(String value)
Deprecated.
Sets the hyperlink associated with this
WordsShape . |
void |
setImage(WordsWatermarkableImage value)
Deprecated.
Sets the image of this
WordsShape . |
void |
setRotateAngle(double value)
Deprecated.
Sets the rotate angle of this
WordsShape in degrees. |
void |
setText(String value)
Deprecated.
Sets the text of this
WordsShape . |
void |
setWidth(double value)
Deprecated.
Sets the width of this
WordsShape in points. |
void |
setX(double value)
Deprecated.
Sets the horizontal offset of this
WordsShape from page left border in points. |
void |
setY(double value)
Deprecated.
Sets the vertical offset of this
WordsShape from page top border in points. |
public final WordsSection getSection()
Gets the parent section of this WordsShape
.
WordsShape
.public final WordsHeaderFooter getHeaderFooter()
Gets the parent header/footer of this WordsShape
(if presents).
WordsShape
.public final int getShapeType()
Gets the shape type.
public final double getWidth()
Gets the width of this WordsShape
in points.
getWidth
in interface ITwoDObject
WordsShape
in points.public final void setWidth(double value)
Sets the width of this WordsShape
in points.
value
- The width of this WordsShape
in points.public final double getHeight()
Gets the height of this WordsShape
in points.
getHeight
in interface ITwoDObject
WordsShape
in points.public final void setHeight(double value)
Sets the height of this WordsShape
in points.
value
- The height of this WordsShape
in points.public final boolean isWordArt()
Gets a value indicating whether this WordsShape
is a WordArt object.
public final double getRotateAngle()
Gets the rotate angle of this WordsShape
in degrees.
getRotateAngle
in interface IRotatableTwoDObject
WordsShape
in degrees.public final void setRotateAngle(double value)
Sets the rotate angle of this WordsShape
in degrees.
value
- The rotate angle of this WordsShape
in degrees.public final String getAlternativeText()
Gets the descriptive (alternative) text associated with this WordsShape
.
WordsShape
.public final void setAlternativeText(String value)
Sets the descriptive (alternative) text associated with this WordsShape
.
value
- The descriptive (alternative) text associated with this WordsShape
.public final String getName()
Gets the name of this WordsShape
.
WordsShape
.public final double getX()
Gets the horizontal offset of this WordsShape
from page left border in points.
getX
in interface ITwoDObject
WordsShape
.public final void setX(double value)
Sets the horizontal offset of this WordsShape
from page left border in points.
value
- The x-coordinate of this WordsShape
.public final double getY()
Gets the vertical offset of this WordsShape
from page top border in points.
getY
in interface ITwoDObject
WordsShape
.public final void setY(double value)
Sets the vertical offset of this WordsShape
from page top border in points.
value
- The y-coordinate of this WordsShape
.public final boolean getBehindText()
Gets a value indicating whether the shape is over or behind the text.
public final void setBehindText(boolean value)
Sets a value indicating whether the shape is over or behind the text.
value
- The value indicating whether the shape is over or behind the text.
True if the shape is behind the text; otherwise, false.public final String getText()
Gets the text of this WordsShape
.
WordsShape
.public final void setText(String value)
Sets the text of this WordsShape
.
value
- The text of this WordsShape
.public final FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this WordsShape
.
WordsShape
.public final WordsWatermarkableImage getImage()
Gets the image of this WordsShape
.
WordsShape
.
Returns null if the shape has no image.public final void setImage(WordsWatermarkableImage value)
Sets the image of this WordsShape
.
value
- The image of this WordsShape
.
Returns null if the shape has no image.public final int getHorizontalAlignment()
Gets a value specifying how the shape is positioned horizontally.
public final int getVerticalAlignment()
Gets a value specifying how the shape is positioned vertically.
public final int getRelativeHorizontalPosition()
Gets a value specifying to what the shape is positioned horizontally.
public final int getRelativeVerticalPosition()
Gets a value specifying to what the shape is positioned vertically.
public final String getHyperlink()
Gets the hyperlink associated with this WordsShape
.
WordsShape
.public final void setHyperlink(String value)
Sets the hyperlink associated with this WordsShape
.
value
- The hyperlink associated with this WordsShape
.Copyright © 2020. All rights reserved.