public class Page
extends java.lang.Object
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
boolean |
AddAnnotBitmap(Bitmap bitmap,
boolean has_alpha,
float[] rect)
add a bitmap object as an annotation to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotEditbox(Matrix mat,
float[] rect,
float tsize,
int color)
add an edit-box on page.
|
boolean |
AddAnnotGlyph(Matrix mat,
Path path,
int color,
boolean winding)
add a user-defined glyph to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotGoto(float[] rect,
int pageno,
float top)
add goto-page link to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotHWriting(Matrix mat,
HWriting hwriting,
float orgx,
float orgy)
add hand-writing to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotInk(Matrix mat,
Ink ink,
float orgx,
float orgy)
add hand-writing to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotMarkup(int cindex1,
int cindex2,
int type)
add a text-markup annotation to page.
you should re-render page to display modified data. this can be only invoked after ObjsStart. this method valid in professional or premium version |
boolean |
AddAnnotMarkup(Matrix mat,
float[] rects,
int type)
add a text-markup annotation to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotRect(Matrix mat,
float[] rect,
float width,
int color)
add rectangle to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotText(float[] pt)
add a sticky text annotation to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddAnnotURI(float[] rect,
java.lang.String uri)
add URL link to page.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
AddBitmap(Bitmap bitmap,
boolean has_alpha,
float[] rect)
mostly like to AddAnnotBitmap, but add a bitmap object to page content directly.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
void |
Close()
Close page object and free memory.
|
void |
FindClose(int hand_finder)
free memory of find session.
|
int |
FindGetCount(int hand_finder)
get find count in this page.
|
int |
FindGetFirstChar(int hand_finder,
int index)
get find count in this page.
|
int |
FindOpen(java.lang.String str,
boolean match_case,
boolean whole_word)
create a find session.
|
int |
GetAnnot(int index)
get annotations by index.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnot3D(int annot)
get annotation's 3D object name.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
GetAnnot3DData(int annot,
java.lang.String save_file)
get annotation's 3D data.
|
java.lang.String |
GetAnnotAttachment(int annot)
get annotation's attachment name.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
GetAnnotAttachmentData(int annot,
java.lang.String save_file)
get annotation's attachment data.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
int |
GetAnnotCheckStatus(int annot)
get status of check-box and radio-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
java.lang.String |
GetAnnotComboItem(int annot,
int item)
get an item of combo-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotComboItemCount(int annot)
get item count of combo-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotComboItemSel(int annot)
get current selected item index of combo-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotCount()
get annotations count in this page.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
int |
GetAnnotDest(int annot)
get annotation's destination.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotEditText(int annot)
get contents of edit-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
boolean |
GetAnnotEditTextRect(int annot,
float[] rect)
get position and size of edit-box.
for FreeText annotation, position of edit-box is not the position of annotation. so this function is needed for edit-box. |
float |
GetAnnotEditTextSize(int annot)
get text size of edit-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotEditType(int annot)
get type of edit-box.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotFieldType(int annot)
get annotation field type in acroForm.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotFromPoint(float x,
float y)
get annotations by PDF point.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotMovie(int annot)
get annotation's movie name.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
GetAnnotMovieData(int annot,
java.lang.String save_file)
get annotation's movie data.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotPopupSubject(int annot)
get annotation's popup subject.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotPopupText(int annot)
get annotation's popup text.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
void |
GetAnnotRect(int annot,
float[] rect)
set annotation's box rectangle.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
GetAnnotReset(int annot)
check if the annotation is reset button?
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
java.lang.String |
GetAnnotSound(int annot)
get annotation's sound name.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
GetAnnotSoundData(int annot,
int[] paras,
java.lang.String save_file)
get annotation's sound data.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotSubmitPara(int annot)
get annotation submit parameters.
mail mode: return whole XML string for form data. other mode: url data likes: "para1=xxx¶2=xxx". this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
java.lang.String |
GetAnnotSubmitTarget(int annot)
get annotation submit target.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
int |
GetAnnotType(int annot)
get annotation type.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
java.lang.String |
GetAnnotURI(int annot)
get annotation's URL link string.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
int |
GetRotate()
get rotate degree for page, example: 0 or 90
|
boolean |
IsAnnotLocked(int annot)
check if position and size of the annotation is locked?
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
IsAnnotLockedContent(int annot)
check if texts of the annotation is locked?
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
int |
ObjsAlignWord(int from,
int dir)
get index aligned by word.
|
int |
ObjsGetCharCount()
get chars count in this page.
|
java.lang.String |
ObjsGetCharFontName(int index)
get char's font name.
|
int |
ObjsGetCharIndex(float[] pt)
get char index nearest to point
|
void |
ObjsGetCharRect(int index,
float[] vals)
get char's box in PDF coordinate system, this can be invoked after ObjsStart
|
java.lang.String |
ObjsGetString(int from,
int to)
get string from range.
|
void |
ObjsStart()
get text objects to memory.
|
boolean |
Reflow(int dib,
float orgx,
float orgy)
Reflow to dib.
this method valid in professional or premium version |
int |
ReflowGetCharColor(int iparagraph,
int ichar)
get char's fill color for display.
this method valid in professional or premium version |
int |
ReflowGetCharCount(int iparagraph)
get one paragraph's char count.
this method valid in professional or premium version |
java.lang.String |
ReflowGetCharFont(int iparagraph,
int ichar)
get char's font name.
this method valid in professional or premium version |
float |
ReflowGetCharHeight(int iparagraph,
int ichar)
get char's font height.
this method valid in professional or premium version |
void |
ReflowGetCharRect(int iparagraph,
int ichar,
float[] rect)
get char's bound box.
this method valid in professional or premium version |
int |
ReflowGetCharUnicode(int iparagraph,
int ichar)
get char's unicode value.
this method valid in professional or premium version |
float |
ReflowGetCharWidth(int iparagraph,
int ichar)
get char's font width.
this method valid in professional or premium version |
int |
ReflowGetParaCount()
get reflow paragraph count.
this method valid in professional or premium version |
java.lang.String |
ReflowGetText(int iparagraph1,
int ichar1,
int iparagraph2,
int ichar2)
get text from range.
this method valid in professional or premium version |
float |
ReflowStart(float width,
float scale)
Start Reflow.
this method valid in professional or premium version |
boolean |
ReflowToBmp(Bitmap bitmap,
float orgx,
float orgy)
Reflow to Bitmap object.
this method valid in professional or premium version |
boolean |
RemoveAnnot(int annot)
remove annotation
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
void |
Render_Normal(int dib,
Matrix mat)
render to page in normal quality
|
boolean |
Render(int dib,
Matrix mat)
render page to dib object.
|
void |
RenderCancel()
set page status to cancelled and cancel render function.
|
boolean |
RenderIsFinished()
check if page rendering is finished.
|
void |
RenderPrePare(int dib)
prepare to render.
|
boolean |
RenderToBmp(Bitmap bitmap,
Matrix mat)
render page to Bitmap object directly.
|
boolean |
SetAnnotCheckValue(int annot,
boolean check)
set value to check-box.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
boolean |
SetAnnotComboItem(int annot,
int item)
set current selected.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
boolean |
SetAnnotEditText(int annot,
java.lang.String text)
set contents of edit-box.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
boolean |
SetAnnotPopupSubject(int annot,
java.lang.String val)
set annotation's popup subject.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
SetAnnotPopupText(int annot,
java.lang.String val)
set annotation's popup text.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
SetAnnotRadio(int annot)
check the radio-box and deselect others in radio group.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
void |
SetAnnotRect(int annot,
float[] rect)
set annotation's box rectangle.
this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in professional or premium version |
boolean |
SetAnnotReset(int annot)
perform the button and reset the form.
you should re-render page to display modified data. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version |
public void Close()
public void RenderPrePare(int dib)
dib
- DIB object to render. obtained by Global.dibGet().public boolean Render(int dib, Matrix mat)
dib
- DIB object to render. obtained by Global.dibGet().mat
- Matrix object define scale, rotate, translate operations.public boolean RenderToBmp(Bitmap bitmap, Matrix mat)
bitmap
- Bitmap object to render.mat
- Matrix object define scale, rotate, translate operations.public void Render_Normal(int dib, Matrix mat)
dib
- same as Render functionmat
- same as Render functionpublic void RenderCancel()
public boolean RenderIsFinished()
public void ObjsStart()
public java.lang.String ObjsGetString(int from, int to)
from
- 0 based unicode index.to
- 0 based unicode index.public int ObjsAlignWord(int from, int dir)
from
- 0 based unicode index.dir
- if dir < 0, get start index of the word. otherwise get last index of the word.public void ObjsGetCharRect(int index, float[] vals)
index
- 0 based unicode index.vals
- return 4 elements for PDF rectangle.public java.lang.String ObjsGetCharFontName(int index)
index
- 0 based unicode index.public int ObjsGetCharCount()
public int ObjsGetCharIndex(float[] pt)
pt
- point as [x,y] in PDF coordinate.public int FindOpen(java.lang.String str, boolean match_case, boolean whole_word)
str
- key string to find.match_case
- match case?whole_word
- match whole word?public int FindGetCount(int hand_finder)
hand_finder
- handle of find session, obtained by FindOpen.public int FindGetFirstChar(int hand_finder, int index)
hand_finder
- handle of find session, obtained by FindOpen.index
- 0 based index value. range:[0, FindGetCount()-1]public void FindClose(int hand_finder)
hand_finder
- handle of find session, obtained by FindOpen.public int GetRotate()
page
- public int GetAnnotCount()
public int GetAnnot(int index)
index
- 0 based index value. range:[0, GetAnnotCount()-1]public int GetAnnotFromPoint(float x, float y)
x
- x value in PDF coordinate system.y
- y value in PDF coordinate system.public int GetAnnotType(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic int GetAnnotFieldType(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean IsAnnotLocked(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean IsAnnotLockedContent(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic void GetAnnotRect(int annot, float[] rect)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointrect
- return 4 elements: left, top, right, bottom in PDF coordinate systempublic void SetAnnotRect(int annot, float[] rect)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointrect
- 4 elements: left, top, right, bottom in PDF coordinate systempublic int GetAnnotDest(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotPopupText(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotPopupText(int annot, java.lang.String val)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointval
- text stringpublic java.lang.String GetAnnotPopupSubject(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotPopupSubject(int annot, java.lang.String val)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointval
- subject stringpublic java.lang.String GetAnnotURI(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnot3D(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotMovie(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotSound(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotAttachment(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean GetAnnot3DData(int annot, java.lang.String save_file)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointsave_file
- full path name to save data.public boolean GetAnnotMovieData(int annot, java.lang.String save_file)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointsave_file
- full path name to save data.public boolean GetAnnotSoundData(int annot, int[] paras, java.lang.String save_file)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointparas
- paras[0] == 0, if formated audio file(*.mp3 ...).save_file
- full path name to save data.public boolean GetAnnotAttachmentData(int annot, java.lang.String save_file)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointsave_file
- full path name to save data.public int GetAnnotEditType(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean GetAnnotEditTextRect(int annot, float[] rect)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointrect
- 4 elements in order: left, top, right, bottom, in PDF coordinate.public float GetAnnotEditTextSize(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotEditText(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotEditText(int annot, java.lang.String text)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointtext
- contents to be set.public int GetAnnotComboItemCount(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotComboItem(int annot, int item)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointitem
- 0 based item index. range:[0, GetAnnotComboItemCount()-1]public int GetAnnotComboItemSel(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotComboItem(int annot, int item)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointitem
- 0 based item index to set.public int GetAnnotCheckStatus(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotCheckValue(int annot, boolean check)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointcheck
- true or false.public boolean SetAnnotRadio(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean GetAnnotReset(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean SetAnnotReset(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotSubmitTarget(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic java.lang.String GetAnnotSubmitPara(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean RemoveAnnot(int annot)
annot
- handle of annotation, obtained by GetAnnot or GetAnnotFromPointpublic boolean AddAnnotGoto(float[] rect, int pageno, float top)
rect
- link area rect [left, top, right, bottom] in PDF coordinate.pageno
- 0 based pageno to goto.top
- y coordinate in PDF coordinate, page.height is top of page. and 0 is bottom of page.public boolean AddAnnotURI(float[] rect, java.lang.String uri)
rect
- link area rect [left, top, right, bottom] in PDF coordinate.uri
- url address, example: "http://www.radaee.com/en"public boolean AddAnnotInk(Matrix mat, Ink ink, float orgx, float orgy)
mat
- Matrix for Render function.ink
- Ink objectorgx
- origin x coordinate in page. in DIB coordinate systemorgy
- origin y coordinate in page. in DIB coordinate systempublic boolean AddAnnotHWriting(Matrix mat, HWriting hwriting, float orgx, float orgy)
mat
- Matrix for Render function.hwriting
- hand writing objectorgx
- origin x coordinate in page. in DIB coordinate systemorgy
- origin y coordinate in page. in DIB coordinate systempublic boolean AddAnnotGlyph(Matrix mat, Path path, int color, boolean winding)
mat
- Matrix for Render function.path
- Path object.color
- text color, formated as 0xAARRGGBB.winding
- if true, using winding fill rule, otherwise using odd-even fill rule.public boolean AddAnnotRect(Matrix mat, float[] rect, float width, int color)
mat
- Matrix for Render function.rect
- 4 elements for left, top, right, bottom in DIB coordinate systemwidth
- line widthcolor
- rectangle color, formated as 0xAARRGGBBpublic boolean AddAnnotMarkup(Matrix mat, float[] rects, int type)
mat
- Matrix for Render function.rects
- 4 * n rectangles, each 4 elements: left, top, right, bottom in DIB coordinate system. n is decided by length of array.type
- 0: Highlight, 1: Underline, 2: StrikeOut, 3: Highlight without round corner.public boolean AddAnnotMarkup(int cindex1, int cindex2, int type)
cindex1
- first char indexcindex2
- second char indextype
- 0: Highlight, 1: Underline, 2: StrikeOut, 3: Highlight without round corner.public boolean AddAnnotBitmap(Bitmap bitmap, boolean has_alpha, float[] rect)
bitmap
- Bitmap object to add, which should be formated in ARGB_8888has_alpha
- is need to save alpha channel information?rect
- 4 elements: left, top, right, bottom in PDF coordinate system.public boolean AddBitmap(Bitmap bitmap, boolean has_alpha, float[] rect)
bitmap
- Bitmap object to add, which should be formated in ARGB_8888has_alpha
- is need to save alpha channel information?rect
- 4 elements: left, top, right, bottom in PDF coordinate system.public boolean AddAnnotText(float[] pt)
pt
- 2 elements: x, y in PDF coordinate system.public boolean AddAnnotEditbox(Matrix mat, float[] rect, float tsize, int color)
matrix
- Matrix object that passed to Render or RenderToBmp function.rect
- 4 elements: left, top, right, bottom in DIB coordinate system.tsize
- text size in DIB coordinate system.color
- text color, formated as 0xAARRGGBB.public float ReflowStart(float width, float scale)
width
- input width, function calculate height.scale
- scale base to 72 DPI, 2.0 means 144 DPI. the reflowed text will displayed in scalepublic boolean Reflow(int dib, float orgx, float orgy)
dib
- dib to renderorgx
- origin x coordinateorgy
- origin y coordinatepublic boolean ReflowToBmp(Bitmap bitmap, float orgx, float orgy)
bitmap
- bitmap to refloworgx
- origin x coordinateorgy
- origin y coordinatepublic int ReflowGetParaCount()
public int ReflowGetCharCount(int iparagraph)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]public float ReflowGetCharWidth(int iparagraph, int ichar)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]public float ReflowGetCharHeight(int iparagraph, int ichar)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]public int ReflowGetCharColor(int iparagraph, int ichar)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]public int ReflowGetCharUnicode(int iparagraph, int ichar)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]public java.lang.String ReflowGetCharFont(int iparagraph, int ichar)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]public void ReflowGetCharRect(int iparagraph, int ichar, float[] rect)
iparagraph
- paragraph index range[0, ReflowGetParaCount()-1]ichar
- char index range[0, ReflowGetCharCount()]rect
- output: 4 element as [left, top, right, bottom].public java.lang.String ReflowGetText(int iparagraph1, int ichar1, int iparagraph2, int ichar2)
iparagraph1
- first positionichar1
- first positioniparagraph2
- second positionichar2
- second position