Skip to content

Commit

Permalink
Merge pull request #92 from dessli/main
Browse files Browse the repository at this point in the history
Extension: floating image, configure for float on the text
  • Loading branch information
shps951023 authored Nov 29, 2024
2 parents f6cbed8 + 92d446b commit fef7cce
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 99 deletions.
11 changes: 11 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,17 @@ var value = new
MiniWord.SaveAsByTemplate(path, templatePath, value);
```

### 浮动图像

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


## 例子


Expand Down
Loading

0 comments on commit fef7cce

Please sign in to comment.