pdfwordwraptype-ag凯发旗舰厅



com.spire.pdf.graphics
enum pdfwordwraptype

java.lang.object
  extended by java.lang.enum<pdfwordwraptype>
      extended by com.spire.pdf.graphics.pdfwordwraptype
all implemented interfaces:
java.lang.comparable<pdfwordwraptype>

public enum pdfwordwraptype
extends java.lang.enum<pdfwordwraptype>

specifies the types of text wrapping.


enum constant summary
character
          text is wrapped by characters.
none
          text wrapping between lines when formatting within a rectangle is disabled.
word
          text is wrapped by words.
 
enum constant detail

none

public static final pdfwordwraptype none
text wrapping between lines when formatting within a rectangle is disabled.

word

public static final pdfwordwraptype word
text is wrapped by words. if the last word that is longer than bounds' width, generally specking, the last word will be positioned to next line. note: if there is a long word which is even longer than the width of the rectangle width,this word will be break into several parts and positioned to next lines one by one. for instance, if the rectangle width is only possible to draw 5 chars, the word "example" will be divided into two parts as "examp" and "le" and the last part "le" will be drawn at next line.

character

public static final pdfwordwraptype character
text is wrapped by characters. in this case the word at the end of the text line can be split and the split part will be positioned at the next line.


网站地图