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