namespace EnvelopeGenerator.Application.Common.Dto; /// /// /// public enum PdfSignatureCoordinateUnit { /// /// /// Point = 0, /// /// /// Inch = 1 } /// /// /// public enum PdfSignatureCoordinateOrigin { /// /// /// BottomLeft = 0, /// /// /// TopLeft = 1 } /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// public sealed record PdfSignatureAppearanceDto( int PageNumber, double Left, double Bottom, double Width, double Height, bool ShowLabels = false, bool ShowName = false, bool ShowDate = false, bool ShowReason = false, bool ShowLocation = false, bool ShowDistinguishedName = false, string DateTimeFormat = "dd.MM.yyyy HH:mm:ss zzz", PdfSignatureCoordinateUnit CoordinateUnit = PdfSignatureCoordinateUnit.Point, PdfSignatureCoordinateOrigin CoordinateOrigin = PdfSignatureCoordinateOrigin.BottomLeft) { /// /// /// /// /// /// /// /// public sealed record FontDto(string FamilyName = "Helvetica", float Size = 10, bool IsBold = false, bool IsItalic = false, bool IsUnderline = false) { /// /// /// public RgbaColorDto Color { get; init; } = new(); } /// /// /// /// /// /// public sealed record RgbaColorDto(double R = 0, double G = 0, double B = 0); /// /// /// public FontDto Font { get; init; } = new(); }