Skip to content

Commit dc7969b

Browse files
shps951023michelebastione
authored andcommitted
1 41 3 fix bugs (mini-software#818)
* v1.41.2 AddPicture not working mini-software#814 * mini-software#814 samples * Fix v1.41.1 AddPicture image max column and row are 2 cells mini-software#815 * Fix AddPicture get error same export file and second time. mini-software#817 --------- Signed-off-by: Wei Lin <shps951002@gmail.com> (cherry picked from commit 1103aed)
1 parent a007759 commit dc7969b

File tree

4 files changed

+429
-390
lines changed

4 files changed

+429
-390
lines changed

src/MiniExcel/MiniExcelLibs.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<Version>2.0.0-beta.1</Version>
55
<Version>1.41.2</Version>
66
<Nullable>enable</Nullable>
7+
<TargetFrameworks>net462;netstandard2.0;net8.0;net9.0</TargetFrameworks>
8+
<Version>1.41.3</Version>
79
</PropertyGroup>
810
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net462'">
911
<LangVersion>13</LangVersion>

src/MiniExcel/Picture/MiniExcelPicture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ public class MiniExcelPicture
1212
internal int ColumnNumber => ReferenceHelper.ConvertCellToXY(CellAddress).Item1 -1;
1313
internal int RowNumber => ReferenceHelper.ConvertCellToXY(CellAddress).Item2 - 1;
1414

15-
public int WidthPx { get; set; }
16-
public int HeightPx { get; set; }
15+
public int WidthPx { get; set; } = 80;
16+
public int HeightPx { get; set; } = 24;
1717
}

0 commit comments

Comments
 (0)