Introduce `SignatureFieldParams` class to manage signature field dimensions with configurable `Width` and `Height`. Integrate this configuration into the service collection and replace hardcoded dimensions in `CreateEnvelopeCommandHandler.cs` and `SenderEditorPage.razor`. Update `appsettings.json` to include the new configuration section, allowing runtime adjustments.
18 lines
324 B
C#
18 lines
324 B
C#
namespace EnvelopeGenerator.Application.Common.Configurations;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class SignatureFieldParams
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public double Width { get; init; } = 1.77;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public double Height { get; init; } = 1.96;
|
|
}
|