diff --git a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb index b3329496..2a2c8bfe 100644 --- a/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb +++ b/EnvelopeGenerator.CommonServices/Jobs/FinalizeDocument/PDFBurner.vb @@ -160,19 +160,8 @@ Namespace Jobs.FinalizeDocument #End Region #Region "Add Value" - Private Sub AddInstantJSONAnnotationToPDF(pInstantJSON As String) - Dim oAnnotationData = JsonConvert.DeserializeObject(Of AnnotationData)(pInstantJSON) - - oAnnotationData.annotations.Reverse() - - For Each oAnnotation In oAnnotationData.annotations - Logger.Debug("Adding AnnotationID: " + oAnnotation.id) - - Select Case oAnnotation.type - Case AnnotationType.Image - AddImageAnnotation(oAnnotation, oAnnotationData.attachments) - Exit Select - Case AnnotationType.Ink + Exit Select + Case AnnotationType.Ink AddInkAnnotation(oAnnotation) Exit Select Case AnnotationType.Widget @@ -272,7 +261,7 @@ Namespace Jobs.FinalizeDocument ant.FontSize = _pdfBurnerParams.FontSize ant.FontStyle = _pdfBurnerParams.FontStyle Manager.SaveAnnotationsToPage() - End Sub + End Sub #End Region #Region "Helpers"