diff --git a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb index 50d6d0bf..e5f2e2f3 100644 --- a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb +++ b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb @@ -72,7 +72,6 @@ Namespace Jobs.FinalizeDocument Dim oAnnotationData = JsonConvert.DeserializeObject(Of AnnotationData)(pInstantJSON) oAnnotationData.annotations.Reverse() - Dim sigAnnotType = oAnnotationData.annotations.ElementAt(1).type Dim yPosOfSigAnnot = oAnnotationData.annotations.ElementAt(2).bbox.ElementAt(1) - 71.84002685546875 + 7 Dim isSeal = True 'First element is signature seal @@ -108,7 +107,7 @@ Namespace Jobs.FinalizeDocument Next End Function - Private Function AddImageAnnotation(pAnnotation As Annotation, pAttachments As Dictionary(Of String, Attachment), Optional yOffset As Double = 0) As Void + Private Function AddImageAnnotation(pAnnotation As Annotation, pAttachments As Dictionary(Of String, Attachment)) As Void Dim oAttachment = pAttachments.Where(Function(a) a.Key = pAnnotation.imageAttachmentId). SingleOrDefault() @@ -116,7 +115,7 @@ Namespace Jobs.FinalizeDocument Dim oBounds = pAnnotation.bbox.Select(AddressOf ToInches).ToList() Dim oX = oBounds.Item(0) - Dim oY = oBounds.Item(1) + yOffset + Dim oY = oBounds.Item(1) Dim oWidth = oBounds.Item(2) Dim oHeight = oBounds.Item(3)