接口 ITextFrame
public interface ITextFrame
Represents the text frame in the
com.grapecity.documents.excel.IShape
object.-
方法概要
修饰符和类型方法说明Gets the horizontal alignment of text in a text frame.float
Gets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.float
Gets the distance (in points) between the left of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.float
Gets the distance (in points) between the right of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.float
Gets the distance (in points) between the top of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.Returns theITextRange
object that represents the text in the object.Gets the vertical alignment of text in a text frame.void
Sets the horizontal alignment of text in a text frame.void
setMarginBottom
(float bottom) Sets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.void
setMarginLeft
(float left) Sets the distance (in points) between the left of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.void
setMarginRight
(float right) Sets the distance (in points) between the right of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.void
setMarginTop
(float top) Sets the distance (in points) between the top of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.void
setVerticalAnchor
(VerticalAnchor value) Sets the vertical alignment of text in a text frame.
-
方法详细资料
-
getMarginBottom
float getMarginBottom()Gets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
setMarginBottom
void setMarginBottom(float bottom) Sets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
getMarginLeft
float getMarginLeft()Gets the distance (in points) between the left of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
setMarginLeft
void setMarginLeft(float left) Sets the distance (in points) between the left of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
getMarginRight
float getMarginRight()Gets the distance (in points) between the right of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
setMarginRight
void setMarginRight(float right) Sets the distance (in points) between the right of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
getMarginTop
float getMarginTop()Gets the distance (in points) between the top of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
setMarginTop
void setMarginTop(float top) Sets the distance (in points) between the top of the text frame and the bottom of the inscribed rectangle of the shape that contains the text. -
getTextRange
ITextRange getTextRange()Returns theITextRange
object that represents the text in the object. -
getHorizontalAnchor
HorizontalAnchor getHorizontalAnchor()Gets the horizontal alignment of text in a text frame. -
setHorizontalAnchor
Sets the horizontal alignment of text in a text frame. -
getVerticalAnchor
VerticalAnchor getVerticalAnchor()Gets the vertical alignment of text in a text frame. -
setVerticalAnchor
Sets the vertical alignment of text in a text frame.
-