public class SymbolLibManager
extends com.supermap.data.InternalHandleDisposable
构造器和说明 |
---|
SymbolLibManager()
构造方法
|
限定符和类型 | 方法和说明 |
---|---|
static void |
AddModelLib(String modelPath)
添加模型库
|
static int |
AddSymbolLib(String symbolPath)
添加标号库
|
static void |
centralAndResetSymbolSize(Recordset rec,
double dsize)
符号对齐并设置大小,符号制作工具使用
|
static void |
CloseSymbolLib(int libID)
关闭标号库
|
static void |
createSymbolLib(int libID,
String libName)
创建符号库
|
void |
dispose()
释放对象
|
static int[] |
getAllLibraryId()
返回已加载的所有标号库的ID
|
static int |
getLibCount()
返回标号库个数
|
static SymbolLibrary |
getSymbolLibrary(int libID)
返回指定ID的标号库
|
static int |
getSymbolMaxEidtPts(int libId,
int code)
返回线面标号的最大编辑点
|
static int |
getSymbolMinEidtPts(int libId,
int code)
返回线面标号的最小编辑点
|
static String |
getSymbolName(int libId,
int code)
返回标号名称
|
static GraphicObjectType |
getSymbolType(int libId,
int code)
返回指定标号库指定标号的标号类型
|
static boolean |
isCanCreateFlagCompound(int libID,
int code)
判断是否可以创建多旗包围框
|
static boolean |
IsJBSymbolLib(String symbolPath)
判断是否是JB库
|
static Boolean |
isSymbolLibraryExist(int libID)
返回标号库是否存在
|
static ArrayList<SymbolInfo> |
querySymbol(String strkey)
根据关键字查询指定父节点中的子节点
|
static void |
resetSymbolSize(Recordset rec,
double size)
设置符号大小,符号制作工具使用
|
static void |
symbolCentral(Recordset rec)
符号对齐,符号制作工具使用
|
public void dispose()
public static boolean isCanCreateFlagCompound(int libID, int code)
libID
- 标号libidcode
- 标号codepublic static boolean IsJBSymbolLib(String symbolPath)
symbolPath
- 标号库路径public static int AddSymbolLib(String symbolPath)
symbolPath
- 标号库路径public static void CloseSymbolLib(int libID)
libID
- 标号库IDpublic static void AddModelLib(String modelPath)
modelPath
- 模型库路径public static int getLibCount()
public static SymbolLibrary getSymbolLibrary(int libID)
libID
- 标号库IDpublic static Boolean isSymbolLibraryExist(int libID)
libID
- 标号库IDpublic static int[] getAllLibraryId()
public static GraphicObjectType getSymbolType(int libId, int code)
libId
- 标号库IDcode
- 标号的编号public static int getSymbolMaxEidtPts(int libId, int code)
libId
- 标号库IDcode
- 标号的编码public static int getSymbolMinEidtPts(int libId, int code)
libId
- 标号库IDcode
- 标号的编码public static String getSymbolName(int libId, int code)
libId
- 标号库IDcode
- 标号的编码public static ArrayList<SymbolInfo> querySymbol(String strkey)
strkey
- 关键字public static void createSymbolLib(int libID, String libName)
libId
- 标号库IDlibName
- 符号库名字public static void symbolCentral(Recordset rec)
rec
- 标号所在数据集public static void resetSymbolSize(Recordset rec, double size)
rec
- 标号所在数据集size
- 符号大小public static void centralAndResetSymbolSize(Recordset rec, double dsize)
rec
- 标号所在数据集dsize
- 符号大小Copyright © 2021–2024 SuperMap. All rights reserved.