refactor(DocumentReceiverElementDto): remove Top and Left-properties
This commit is contained in:
parent
41f5d9f1e4
commit
1ac2a476d2
@ -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; }
|
||||
}
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user