A new `SenderAppType` enum was introduced in the `EnvelopeGenerator.ReceiverUI.Models.Constants` namespace, with values `LegacyFormApp` and `ReceiverUIBlazorApp`. The `SignatureDto` class was updated to include a new property of type `SenderAppType`, enabling the specification of the sender application type for a signature. Additionally, a `using` directive for the `EnvelopeGenerator.ReceiverUI.Models.Constants` namespace was added to `SignatureDto.cs` to support the use of the new enum.
25 lines
768 B
C#
25 lines
768 B
C#
using EnvelopeGenerator.ReceiverUI.Models.Constants;
|
|
|
|
namespace EnvelopeGenerator.ReceiverUI.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a signature position on a PDF page.
|
|
/// Coordinates stored in INCHES (GdPicture14 native unit).
|
|
/// Origin: Top-left corner, X increases right, Y increases down.
|
|
/// </summary>
|
|
public class SignatureDto
|
|
{
|
|
/// <summary>Unique identifier.</summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>Horizontal position in INCHES from left edge.</summary>
|
|
public double X { get; set; }
|
|
|
|
/// <summary>Vertical position in INCHES from top edge.</summary>
|
|
public double Y { get; set; }
|
|
|
|
/// <summary>1-based page number.</summary>
|
|
public int Page { get; set; }
|
|
|
|
public SenderAppType SenderAppType { get; set; }
|
|
} |