Skip to content

Commit 92d446b

Browse files
committed
扩展:浮动图像,可配置图片浮动于文字上
1 parent f6cbed8 commit 92d446b

File tree

3 files changed

+283
-99
lines changed

3 files changed

+283
-99
lines changed

README.zh-CN.md

+11
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,17 @@ var value = new
384384
MiniWord.SaveAsByTemplate(path, templatePath, value);
385385
```
386386

387+
### 浮动图像
388+
389+
可以通过MiniWordPicture扩展参数配置图片悬浮环绕在文字上或文字下
390+
`MiniWordPicture` 扩展参数。
391+
* WrappingType: MiniWordPictureWrappingType.Anchor 浮动图像
392+
* HorizontalPositionOffset: 设置图片相对于锚点的水平偏移量(以像素为单位)
393+
* VerticalPositionOffset:设置图片相对于锚点的垂直偏移量(以像素为单位)
394+
* BehindDoc: 控制图片是否显示在文档文字的后方
395+
* AllowOverlap: 控制图片是否允许与其他图片或对象重叠
396+
397+
387398
## 例子
388399

389400

0 commit comments

Comments
 (0)