refactor(BurnPdfCommandHandler): use IOptions<PDFBurnerParams> and improve form field handling
- Updated BurnPdfCommandHandler constructor to accept IOptions<PDFBurnerParams> instead of raw PDFBurnerParams. - Updated AddFormFieldValue to calculate coordinates based on PDFBurnerParams offsets and margins. - Added helper methods for converting pixels to inches (ToInches, ToPointF). - Removed unused NotImplemented methods in AddFormFieldValue overload. - Improved code readability and maintainability for annotation burning logic.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Drawing;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Common.Configurations;
|
||||
|
||||
Reference in New Issue
Block a user