Replaced iText with GdPicture for PDF manipulation, including: - Added `Width` and `Height` properties to `IDocReceiverElement`. - Updated `Pdf.cs` to use GdPicture's API for drawing and exporting. - Introduced GdPicture licensing management with `EnsureInitialized`. - Refactored `Background` method to align with GdPicture's coordinate system. - Simplified resource management in `Dispose` and `DisposeAsync`. Updated project files: - Modified target frameworks in `EnvelopeGenerator.PdfEditor.csproj` to remove `net7.0` and `net9.0`, and added `net8.0-windows`. - Replaced iText and BouncyCastle dependencies with GdPicture packages. - Added `Microsoft.Bcl.AsyncInterfaces` to `EnvelopeGenerator.Web.csproj`. Performed general cleanup and refactoring to remove unused iText code.
29 lines
828 B
XML
29 lines
828 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net462;net8.0-windows</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<LangVersion>7.3</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' != 'net462'">
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="GdPicture" Version="14.4.7" />
|
|
<PackageReference Include="GdPicture.runtimes.windows" Version="14.4.7" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\EnvelopeGenerator.Domain\EnvelopeGenerator.Domain.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|