refactor(DocumentReceiverElementDto): remove Top and Left-properties

This commit is contained in:
tekh 2025-09-09 16:55:34 +02:00
parent 41f5d9f1e4
commit 1ac2a476d2
2 changed files with 1 additions and 11 deletions

View File

@ -82,14 +82,4 @@ public class DocumentReceiverElementDto
/// Gets or sets the timestamp when the element was last changed, if applicable.
/// </summary>
public DateTime? ChangedWhen { get; set; }
/// <summary>
/// Gets or sets the top position of the element (in layout terms).
/// </summary>
public double Top { get; set; }
/// <summary>
/// Gets or sets the left position of the element (in layout terms).
/// </summary>
public double Left { get; set; }
}

View File

@ -3,7 +3,7 @@ async function createAnnotations(document, instance) {
const signatures = [];
for(var element of document.elements) {
const annotParams = await getAnnotationParams(element.left, element.top);
const annotParams = await getAnnotationParams(element.x, element.y);
const page = element.page - 1
//background