|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.TextFrameFormat
public final class TextFrameFormat
Contains the TextFrame's formatting properties.
Method Summary | |
---|---|
int |
getAnchoringType()
Returns or sets vertical anchor text in a TextFrame. |
int |
getAutofitType()
Returns or sets text's autofit mode. |
byte |
getCenterText()
If NullableBool.True then 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. |
IPresentation |
getPresentation()
Returns the parent presentation of a TextFrame. |
IBaseSlide |
getSlide()
Returns the parent slide of a TextFrame. |
ITextStyle |
getTextStyle()
Returns text's style. |
int |
getTextVerticalType()
Determines text orientation. |
byte |
getWrapText()
<b>True</b> or <b>NotDefined</b> if text is wrapped at TextFrame's margins. |
void |
setAnchoringType(int value)
|
void |
setAutofitType(int value)
|
void |
setCenterText(byte value)
|
void |
setMarginBottom(double value)
|
void |
setMarginLeft(double value)
|
void |
setMarginRight(double value)
|
void |
setMarginTop(double value)
|
void |
setTextVerticalType(int value)
|
void |
setWrapText(byte value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ITextStyle getTextStyle()
Returns text's style.
Readonly TextStyle
.
getTextStyle
in interface ITextFrameFormat
public double getMarginLeft()
Returns or sets the left margin (points) in a TextFrame.
Read/write double
.
getMarginLeft
in interface ITextFrameFormat
public void setMarginLeft(double value)
setMarginLeft
in interface ITextFrameFormat
public double getMarginRight()
Returns or sets the right margin (points) in a TextFrame.
Read/write double
.
getMarginRight
in interface ITextFrameFormat
public void setMarginRight(double value)
setMarginRight
in interface ITextFrameFormat
public double getMarginTop()
Returns or sets the top margin (points) in a TextFrame.
Read/write double
.
getMarginTop
in interface ITextFrameFormat
public void setMarginTop(double value)
setMarginTop
in interface ITextFrameFormat
public double getMarginBottom()
Returns or sets the bottom margin (points) in a TextFrame.
Read/write double
.
getMarginBottom
in interface ITextFrameFormat
public void setMarginBottom(double value)
setMarginBottom
in interface ITextFrameFormat
public byte getWrapText()
<b>True</b>
or <b>NotDefined</b>
if text is wrapped at TextFrame's margins.
Read/write bool
.
getWrapText
in interface ITextFrameFormat
public void setWrapText(byte value)
setWrapText
in interface ITextFrameFormat
public int getAnchoringType()
Returns or sets vertical anchor text in a TextFrame.
Read/write TextAnchorType
.
getAnchoringType
in interface IChartTextBlockFormat
getAnchoringType
in interface ITextFrameFormat
public void setAnchoringType(int value)
setAnchoringType
in interface IChartTextBlockFormat
setAnchoringType
in interface ITextFrameFormat
public byte getCenterText()
If NullableBool.True then text should be centered in box horizontally.
Read/write NullableBool
.
getCenterText
in interface IChartTextBlockFormat
getCenterText
in interface ITextFrameFormat
public void setCenterText(byte value)
setCenterText
in interface IChartTextBlockFormat
setCenterText
in interface ITextFrameFormat
public int getTextVerticalType()
Determines text orientation.
Read/write TextVerticalType
.
getTextVerticalType
in interface IChartTextBlockFormat
getTextVerticalType
in interface ITextFrameFormat
public void setTextVerticalType(int value)
setTextVerticalType
in interface IChartTextBlockFormat
setTextVerticalType
in interface ITextFrameFormat
public int getAutofitType()
Returns or sets text's autofit mode.
Read/write TextAutofitType
.
getAutofitType
in interface ITextFrameFormat
public void setAutofitType(int value)
setAutofitType
in interface ITextFrameFormat
public IBaseSlide getSlide()
Returns the parent slide of a TextFrame.
Read-only BaseSlide
.
getSlide
in interface ISlideComponent
public IPresentation getPresentation()
Returns the parent presentation of a TextFrame.
Read-only Presentation
.
getPresentation
in interface IPresentationComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |