Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单元格导出的图片,支持偏移吗? #250

Closed
amin168 opened this issue Mar 26, 2021 · 2 comments
Closed

单元格导出的图片,支持偏移吗? #250

amin168 opened this issue Mar 26, 2021 · 2 comments
Labels
area-excel excel easy 简单功能,易于修复的Bug enhancement New feature or request

Comments

@amin168
Copy link

amin168 commented Mar 26, 2021

现在导出是这样子

image

想要的效果

image

@hueifeng hueifeng added area-excel excel enhancement New feature or request labels Mar 26, 2021
@hueifeng
Copy link
Member

收到,我们来处理一下,或者您也可以向我们提交PR。

@xl-wenqiang xl-wenqiang added the easy 简单功能,易于修复的Bug label Apr 16, 2021
hueifeng added a commit that referenced this issue Apr 17, 2021
@hueifeng
Copy link
Member

Now that this feature has been added, you can upgrade to the latest version.

  • YOffset: vertical offset (can move the picture)
  • XOffset: horizontal offset (can move the picture)
dotnet add package Magicodes.IE.Excel --version 2.5.3.6

For example:

[ExportImageField(Width = 20, Height = 120, YOffset = 15)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-excel excel easy 简单功能,易于修复的Bug enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants