public class FloatingBox extends BaseParagraph
Constructor and Description |
---|
FloatingBox()
Initializes a new instance of the
FloatingBox class. |
FloatingBox(float width,
float height)
Initializes a new instance of the
FloatingBox class with specified width and height. |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clones a new
FloatingBox object. |
Color |
getBackgroundColor()
Gets a object that indicates the background color of the floating box.
|
BorderInfo |
getBorder()
Gets a object that indicates the border info of the floating box.
|
ColumnInfo |
getColumnInfo()
Gets a column info
|
double |
getHeight()
Gets a float value that indicates the height of the floating box.
|
double |
getLeft()
Gets the table left coordinate.
|
MarginInfo |
getPadding()
Gets a object that indicates the padding of the floating box.
|
Paragraphs |
getParagraphs()
Gets a collection that indicates all paragraphs in the cell.
|
double |
getTop()
Gets the table top coordinate.
|
double |
getWidth()
Gets a float value that indicates the width of the floating box.
|
boolean |
isNeedRepeating()
Gets a boolean value that indicates whether the paragraph need to be repeated on next page.
|
void |
setBackgroundColor(Color value)
Sets a object that indicates the background color of the floating box.
|
void |
setBorder(BorderInfo value)
Sets a object that indicates the border info of the floating box.
|
void |
setColumnInfo(ColumnInfo value)
Sets a column info
|
void |
setHeight(double value)
Sets a float value that indicates the height of the floating box.
|
void |
setLeft(double value)
Sets the table left coordinate.
|
void |
setNeedRepeating(boolean value)
Sets a boolean value that indicates whether the paragraph need to be repeated on next page.
|
void |
setPadding(MarginInfo value)
Sets a object that indicates the padding of the floating box.
|
void |
setParagraphs(Paragraphs value)
Sets a collection that indicates all paragraphs in the cell.
|
void |
setTop(double value)
Sets the table top coordinate.
|
void |
setWidth(double value)
Sets a float value that indicates the width of the floating box.
|
getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public FloatingBox(float width, float height)
Initializes a new instance of the FloatingBox
class with specified width and height.
width
- The width of the box.height
- The height of the box.public FloatingBox()
Initializes a new instance of the FloatingBox
class.
public ColumnInfo getColumnInfo()
public void setColumnInfo(ColumnInfo value)
value
- ColumnInfo valuepublic double getWidth()
public void setWidth(double value)
value
- double valuepublic double getHeight()
public void setHeight(double value)
value
- value that indicates the height.public boolean isNeedRepeating()
public void setNeedRepeating(boolean value)
value
- boolean valuepublic Paragraphs getParagraphs()
public void setParagraphs(Paragraphs value)
Sets a collection that indicates all paragraphs in the cell.
value
- collection that indicates all paragraphs.public BorderInfo getBorder()
public void setBorder(BorderInfo value)
value
- object that indicates the border info.public Color getBackgroundColor()
public void setBackgroundColor(Color value)
value
- object that indicates the background color.public MarginInfo getPadding()
Gets a object that indicates the padding of the floating box.
public void setPadding(MarginInfo value)
Sets a object that indicates the padding of the floating box.
value
- object that indicates the padding.public double getLeft()
Gets the table left coordinate.
public void setLeft(double value)
Sets the table left coordinate.
value
- table left coordinate.public double getTop()
Gets the table top coordinate.
public void setTop(double value)
Sets the table top coordinate.
value
- table top coordinate.public Object deepClone()
Clones a new FloatingBox
object. Paragraphs in the floating box are not cloned.
deepClone
in interface com.aspose.ms.System.ICloneable
deepClone
in class BaseParagraph
FloatingBox
object.Copyright © 2018 Aspose. All Rights Reserved.