fix(pdf): Replace XFontStyleEx with XFontStyle enum
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Update font style parameter from XFontStyleEx.Regular to XFontStyle.Regular - Resolve API compatibility issue in PdfGenerationService - Ensure correct enum type usage for PDF font styling
This commit is contained in:
parent
307eb3f0a0
commit
20575e5ef5
|
|
@ -410,7 +410,7 @@ public class PdfGenerationService : IPdfGenerationService
|
|||
{
|
||||
using var document = new PdfDocument();
|
||||
var totalPages = images.Count;
|
||||
var font = new XFont("Arial", 10, XFontStyleEx.Regular);
|
||||
var font = new XFont("Arial", 10, XFontStyle.Regular);
|
||||
var brush = new XSolidBrush(XColor.FromArgb(153, 153, 153)); // #999999
|
||||
|
||||
for (var i = 0; i < totalPages; i++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user