public class FormIO
extends java.lang.Object
构造器和说明 |
---|
FormIO() |
限定符和类型 | 方法和说明 |
---|---|
static java.awt.image.BufferedImage |
exportFormAsImage(Form form)
导出Form为图片
|
static java.awt.Rectangle |
getContentRect(Form form)
获取form的尺寸
|
static Form |
readForm(java.lang.String tplPath) |
static Form |
readForm(java.lang.String tplPath,
java.lang.String prefix) |
static boolean |
writeForm(IOFile tpl,
java.lang.String tplPath) |
public static Form readForm(java.lang.String tplPath) throws java.lang.Exception
java.lang.Exception
public static Form readForm(java.lang.String tplPath, java.lang.String prefix) throws java.lang.Exception
java.lang.Exception
public static boolean writeForm(IOFile tpl, java.lang.String tplPath) throws java.lang.Exception
java.lang.Exception
public static java.awt.image.BufferedImage exportFormAsImage(Form form)
form
- 需要导出的Formpublic static java.awt.Rectangle getContentRect(Form form)
form
-