PDF编辑相关操作
```
/// 切换横竖屏
/// @param dirction wskHorizontal:横屏, wskVertical:竖屏
- (void)WS_Method_SwitchLayoutDirction:(WSLayoutDirection)dirction;
```
```
/**
获取pdf总页数
*/
- (int)WS_Method_GetPdfPageCount;
```
```
/**
设置手写笔类型
@param penType 'WSVStateNormal :浏览模式','WSVStateHandwrite:手写模式 ','WSVStateErase:擦除模式'
*/
- (void)WS_Method_SetPenType:(WSVerticalReaderState)penType;
```
```
/**
设置手写笔颜色
@param color LLPathColor
LLPathColor1 = 0,//黑 r:26 g:26 b:26
LLPathColor2 = 1,//灰 r:64 g:64 b:64
LLPathColor3 = 2,//红 r:204 g:35 b:35
LLPathColor4 = 3,//蓝 r:31 g:84 b:167
LLPathColor5 = 4,//紫 r:84 g:30 b:149
LLPathColor6 = 5,//橙 r:232 g:145 b:31
LLPathColor7 = 6 //绿 r:15 g:166 b:4
*/
- (void)WS_Method_SetPenColor:(LLPathColor)color;
```
```
/**
设置手写笔粗细
@param penThickness LLLineThickness 依次变粗
LLLine1 = 1,
LLLine2 = 2,
LLLine3 = 3,
LLLine4 = 4,
LLLine5 = 5,
LLLine6 = 6,
LLLine7 = 7,
LLLine8 = 8,
*/
- (void)WS_Method_SetPenThickness:(LLLineThickness)penThickness;
```
```
/**
清除当前页的笔迹
*/
- (void)WS_Method_ClearCurrentPageLines;
```
```
/// 清除当前PDF所有未提交的签字数据
- (void)WS_Method_ClearCurrentFileAllSignData;
```
```
/**
插入文本
*/
- (void)WS_Method_InsertText;
```
```
/**
插入签字
*/
- (void)WS_Method_InsertSign;
```
```
/**
从相册插入图片
*/
- (void)WS_Method_InsertPhotoFromAlbum;
```
```
/**
从相机拍照插入图片
*/
- (void)WS_Method_InsertPhotoFromCamera;
```
```
/// 是否有未提交的数据
- (BOOL)WS_Method_HaveUnSubmitData;
```
```
/**
跳到指定页
@param pageIndex 页码
*/
- (void)WS_Method_JumpToPage:(NSInteger)pageIndex;
```
```
/// 获取当前页 (返回的页码从0开始)
- (int)WS_Method_GetCurrentPage;
```
```
/// 显示缩略图
/// @param isCover 是否覆盖显示,覆盖显示可通过手势点击关闭
/// @param rect 显示的坐标(isCover:NO:相对于当前的父view, isCover:YES : 相对于屏幕)
- (void)WS_Method_ShowThumbViewIsCover:(BOOL)isCover at:(CGRect)rect;
```
```
/// 关闭缩略图
- (void)WS_Method_CloseThumbView;
```
```
/// 显示验签图
/// @param isCover 是否覆盖显示,覆盖显示可通过手势点击关闭
/// @param rect 显示的坐标(isCover:NO:相对于当前的父view, isCover:YES : 相对于屏幕)
- (void)WS_Method_ShowHistoryViewIsCover:(BOOL)isCover at:(CGRect)rect;
```