namespace EnvelopeGenerator.ReceiverUI.Models; /// /// Represents a pre-assigned signature annotation position on a specific page. ///

/// Coordinate unit (X, Y): Inches (GdPicture14 native unit), /// origin at the top-left corner of the page, both axes increase downward/rightward. ///

/// Conversion to DevExpress: Multiply by 100 (DX uses 1/100 inch). /// Convert: xDX = xInches * 100.0 ///
/// Conversion to PDF Points: Multiply by 72 (1 inch = 72 points). /// Convert: xPt = xInches * 72.0 ///
/// Y-axis for PDF (bottom-left origin): Flip required for iText7. /// Convert: yPt = (pageHeightInches - yInches - elemHeightInches) * 72.0 ///
[Obsolete("Use SignatureDto with SignatureService.")] public record AnnotationDto { /// Unique identifier of the annotation. public long Id { get; init; } /// 1-based page number within the document. public int Page { get; init; } /// Horizontal position in INCHES from the left edge of the page. public double X { get; init; } /// Vertical position in INCHES from the top edge of the page. public double Y { get; init; } }