|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.pdfstringformat
public final class pdfstringformat
represents the text layout information.
constructor summary | |
---|---|
pdfstringformat()
initializes a new instance of the class. |
|
pdfstringformat(pdftextalignment alignment)
initializes a new instance of the class. |
|
pdfstringformat(pdftextalignment alignment,
pdfverticalalignment linealignment)
initializes a new instance of the class. |
|
pdfstringformat(java.lang.string columnformat)
initializes a new instance of the class. |
method summary | |
---|---|
void |
setalignment(pdftextalignment value)
sets the text alignment. |
void |
setcharacterspacing(float value)
sets value that indicates a size among the characters in the text. |
void |
setfirstlineindent(float value)
sets the indent of the first line in the text. |
void |
setlinealignment(pdfverticalalignment value)
sets the vertical text alignment. |
void |
setlinelimit(boolean value)
only entire lines are laid out in the formatting rectangle. |
void |
setlinespacing(float value)
sets value that indicates the vertical distance between the baselines of adjacent lines of text. |
void |
setmeasuretrailingspaces(boolean value)
includes the trailing space at the end of each line. |
void |
setnoclip(boolean value)
overhanging parts of glyphs, and unwrapped text reaching outside the formatting rectangle are allowed to show. |
void |
setparagraphindent(double value)
sets the indent of the first line in the paragraph. |
void |
setparagraphindent(float value)
sets the indent of the first line in the paragraph. |
void |
setrighttoleft(boolean value)
sets the value that indicates text direction mode. |
void |
setsubsuperscript(pdfsubsuperscript value)
sets value indicating whether the text is in subscript or superscript mode. |
void |
setwordspacing(float value)
sets value that indicates a size among the words in the text. |
void |
setwordwrap(pdfwordwraptype value)
sets value indicating type of the text wrapping. |
constructor detail |
---|
public pdfstringformat()
public pdfstringformat(pdftextalignment alignment)
alignment
- the alignment.public pdfstringformat(java.lang.string columnformat)
columnformat
- the column format.public pdfstringformat(pdftextalignment alignment, pdfverticalalignment linealignment)
alignment
- the alignment.linealignment
- the vertical alignment.method detail |
---|
public void setalignment(pdftextalignment value)
public void setlinealignment(pdfverticalalignment value)
public void setrighttoleft(boolean value)
public void setcharacterspacing(float value)
public void setwordspacing(float value)
default value is 0.
public void setlinespacing(float value)
default value is 0.
public void setsubsuperscript(pdfsubsuperscript value)
public void setparagraphindent(float value)
public void setparagraphindent(double value)
public void setlinelimit(boolean value)
value
- true if [line limit]; otherwise, false.public void setmeasuretrailingspaces(boolean value)
public void setnoclip(boolean value)
value
- public void setwordwrap(pdfwordwraptype value)
public void setfirstlineindent(float value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |