How to convert lines to much thicker font?

bfuchs
bfuchs used Ask the Experts™
on
Hi Experts,

I have following code to convert from characters into signatures.
  
  Dim str As String
  str = "{" & """values""" & ":" & Me.Signature & "}"  


        Dim Json As Dictionary
        Set Json = JsonConverter.ParseJson(str)
        Dim Values As Variant
     
        
        Dim Value As Dictionary
        
        If Len(Signature & "") > 1000 Then
    
            Me.ScaleMode = 3
            Me.LabelPatientSignature.FontSize = 8
        Else
            Me.ScaleMode = 1
            Me.LabelPatientSignature.FontSize = 7
        End If
        
 'If Len(Me.Signature) < 200 Then Me.DrawWidth = 5
 
        For Each Value In Json("values")
        If Len(Signature) > 100 Then
            Me.Line (1200 + Value("lx"), Value("ly"))-(1200 + Value("mx"), Value("my")), vbBlack
        Else
            Me.Line (1200 + Value("lx"), Value("ly") - 5)-(1200 + Value("mx") + 10, Value("my") + 5), vbBlack, BF
        End If
         'Me.Line (1200 + Value("lx"), Value("ly") - 5)-(4000, Value("my") + 5), vbBlack, BF
'Me.Line (1200 + Value("lx") - 5, Value("ly") - 2)-(1200 + Value("mx") + 5, Value("my") + 2), vbRed
        Next Value

Open in new window


So for example the code would take the following, stored in signature field
[{"lx":39,"ly":60,"mx":39,"my":59},{"lx":40,"ly":59,"mx":39,"my":60},{"lx":41,"ly":58,"mx":40,"my":59},{"lx":43,"ly":58,"mx":41,"my":58},{"lx":44,"ly":58,"mx":43,"my":58},{"lx":45,"ly":58,"mx":44,"my":58},{"lx":52,"ly":56,"mx":45,"my":58},{"lx":59,"ly":55,"mx":52,"my":56},{"lx":64,"ly":55,"mx":59,"my":55},{"lx":70,"ly":54,"mx":64,"my":55},{"lx":75,"ly":53,"mx":70,"my":54},{"lx":81,"ly":52,"mx":75,"my":53},{"lx":86,"ly":51,"mx":81,"my":52},{"lx":90,"ly":49,"mx":86,"my":51},{"lx":92,"ly":49,"mx":90,"my":49},{"lx":93,"ly":48,"mx":92,"my":49},{"lx":94,"ly":48,"mx":93,"my":48},{"lx":95,"ly":47,"mx":94,"my":48},{"lx":96,"ly":46,"mx":95,"my":47},{"lx":98,"ly":46,"mx":96,"my":46},{"lx":99,"ly":45,"mx":98,"my":46},{"lx":100,"ly":44,"mx":99,"my":45},{"lx":102,"ly":43,"mx":100,"my":44},{"lx":102,"ly":42,"mx":102,"my":43},{"lx":104,"ly":40,"mx":102,"my":42},{"lx":106,"ly":40,"mx":104,"my":40},{"lx":108,"ly":39,"mx":106,"my":40},{"lx":109,"ly":37,"mx":108,"my":39},{"lx":82,"ly":51,"mx":82,"my":50},{"lx":81,"ly":53,"mx":82,"my":51},{"lx":81,"ly":55,"mx":81,"my":53},{"lx":80,"ly":57,"mx":81,"my":55},{"lx":80,"ly":58,"mx":80,"my":57},{"lx":80,"ly":60,"mx":80,"my":58},{"lx":79,"ly":62,"mx":80,"my":60},{"lx":79,"ly":66,"mx":79,"my":62},{"lx":78,"ly":70,"mx":79,"my":66},{"lx":78,"ly":73,"mx":78,"my":70},{"lx":77,"ly":76,"mx":78,"my":73},{"lx":76,"ly":78,"mx":77,"my":76},{"lx":76,"ly":79,"mx":76,"my":78},{"lx":76,"ly":80,"mx":76,"my":79},{"lx":74,"ly":82,"mx":76,"my":80},{"lx":74,"ly":85,"mx":74,"my":82},{"lx":73,"ly":86,"mx":74,"my":85},{"lx":72,"ly":88,"mx":73,"my":86},{"lx":72,"ly":89,"mx":72,"my":88},{"lx":71,"ly":91,"mx":72,"my":89},{"lx":70,"ly":93,"mx":71,"my":91},{"lx":69,"ly":94,"mx":70,"my":93},{"lx":68,"ly":95,"mx":69,"my":94},{"lx":66,"ly":97,"mx":68,"my":95},{"lx":65,"ly":98,"mx":66,"my":97},{"lx":64,"ly":98,"mx":65,"my":98},{"lx":62,"ly":99,"mx":64,"my":98},{"lx":62,"ly":100,"mx":62,"my":99},{"lx":61,"ly":100,"mx":62,"my":100},{"lx":60,"ly":100,"mx":61,"my":100},{"lx":133,"ly":45,"mx":133,"my":44},{"lx":134,"ly":44,"mx":133,"my":45},{"lx":136,"ly":44,"mx":134,"my":44},{"lx":138,"ly":43,"mx":136,"my":44},{"lx":139,"ly":43,"mx":138,"my":43},{"lx":141,"ly":42,"mx":139,"my":43},{"lx":142,"ly":41,"mx":141,"my":42},{"lx":144,"ly":40,"mx":142,"my":41},{"lx":145,"ly":39,"mx":144,"my":40},{"lx":147,"ly":38,"mx":145,"my":39},{"lx":149,"ly":37,"mx":147,"my":38},{"lx":150,"ly":37,"mx":149,"my":37},{"lx":151,"ly":37,"mx":150,"my":37},{"lx":152,"ly":36,"mx":151,"my":37},{"lx":153,"ly":36,"mx":152,"my":36},{"lx":154,"ly":35,"mx":153,"my":36},{"lx":155,"ly":35,"mx":154,"my":35},{"lx":157,"ly":34,"mx":155,"my":35},{"lx":159,"ly":34,"mx":157,"my":34},{"lx":160,"ly":34,"mx":159,"my":34},{"lx":160,"ly":33,"mx":160,"my":34},{"lx":162,"ly":33,"mx":160,"my":33},{"lx":163,"ly":33,"mx":162,"my":33},{"lx":165,"ly":33,"mx":163,"my":33},{"lx":168,"ly":31,"mx":165,"my":33},{"lx":169,"ly":31,"mx":168,"my":31},{"lx":172,"ly":31,"mx":169,"my":31},{"lx":174,"ly":30,"mx":172,"my":31},{"lx":176,"ly":30,"mx":174,"my":30},{"lx":178,"ly":30,"mx":176,"my":30},{"lx":181,"ly":29,"mx":178,"my":30},{"lx":183,"ly":29,"mx":181,"my":29},{"lx":184,"ly":29,"mx":183,"my":29},{"lx":185,"ly":29,"mx":184,"my":29},{"lx":186,"ly":28,"mx":185,"my":29},{"lx":188,"ly":28,"mx":186,"my":28},{"lx":189,"ly":28,"mx":188,"my":28},{"lx":190,"ly":28,"mx":189,"my":28},{"lx":191,"ly":28,"mx":190,"my":28},{"lx":169,"ly":32,"mx":169,"my":31},{"lx":167,"ly":32,"mx":169,"my":32},{"lx":167,"ly":33,"mx":167,"my":32},{"lx":166,"ly":34,"mx":167,"my":33},{"lx":165,"ly":35,"mx":166,"my":34},{"lx":164,"ly":37,"mx":165,"my":35},{"lx":164,"ly":41,"mx":164,"my":37},{"lx":161,"ly":47,"mx":164,"my":41},{"lx":161,"ly":50,"mx":161,"my":47},{"lx":160,"ly":51,"mx":161,"my":50},{"lx":158,"ly":56,"mx":160,"my":51},{"lx":157,"ly":57,"mx":158,"my":56},{"lx":156,"ly":60,"mx":157,"my":57},{"lx":154,"ly":62,"mx":156,"my":60},{"lx":154,"ly":63,"mx":154,"my":62},{"lx":152,"ly":65,"mx":154,"my":63},{"lx":151,"ly":66,"mx":152,"my":65},{"lx":148,"ly":69,"mx":151,"my":66},{"lx":146,"ly":71,"mx":148,"my":69},{"lx":144,"ly":73,"mx":146,"my":71},{"lx":142,"ly":74,"mx":144,"my":73},{"lx":142,"ly":75,"mx":142,"my":74},{"lx":141,"ly":76,"mx":142,"my":75},{"lx":162,"ly":70,"mx":162,"my":69},{"lx":163,"ly":69,"mx":162,"my":70},{"lx":164,"ly":69,"mx":163,"my":69},{"lx":168,"ly":67,"mx":164,"my":69},{"lx":170,"ly":67,"mx":168,"my":67},{"lx":171,"ly":67,"mx":170,"my":67},{"lx":172,"ly":67,"mx":171,"my":67},{"lx":173,"ly":67,"mx":172,"my":67},{"lx":174,"ly":67,"mx":173,"my":67},{"lx":175,"ly":66,"mx":174,"my":67},{"lx":176,"ly":66,"mx":175,"my":66},{"lx":178,"ly":66,"mx":176,"my":66},{"lx":180,"ly":65,"mx":178,"my":66},{"lx":181,"ly":64,"mx":180,"my":65},{"lx":182,"ly":64,"mx":181,"my":64},{"lx":185,"ly":62,"mx":182,"my":64},{"lx":186,"ly":61,"mx":185,"my":62},{"lx":186,"ly":60,"mx":186,"my":61},{"lx":187,"ly":60,"mx":186,"my":60},{"lx":188,"ly":59,"mx":187,"my":60},{"lx":188,"ly":58,"mx":188,"my":59},{"lx":188,"ly":57,"mx":188,"my":58},{"lx":187,"ly":57,"mx":188,"my":57},{"lx":186,"ly":57,"mx":187,"my":57},{"lx":184,"ly":56,"mx":186,"my":57},{"lx":183,"ly":56,"mx":184,"my":56},{"lx":182,"ly":55,"mx":183,"my":56},{"lx":181,"ly":55,"mx":182,"my":55},{"lx":180,"ly":55,"mx":181,"my":55},{"lx":179,"ly":55,"mx":180,"my":55},{"lx":178,"ly":55,"mx":179,"my":55},{"lx":177,"ly":55,"mx":178,"my":55},{"lx":176,"ly":55,"mx":177,"my":55},{"lx":175,"ly":55,"mx":176,"my":55},{"lx":174,"ly":55,"mx":175,"my":55},{"lx":174,"ly":56,"mx":174,"my":55},{"lx":174,"ly":57,"mx":174,"my":56},{"lx":174,"ly":58,"mx":174,"my":57},{"lx":174,"ly":60,"mx":174,"my":58},{"lx":174,"ly":61,"mx":174,"my":60},{"lx":174,"ly":62,"mx":174,"my":61},{"lx":174,"ly":63,"mx":174,"my":62},{"lx":174,"ly":64,"mx":174,"my":63},{"lx":174,"ly":65,"mx":174,"my":64},{"lx":174,"ly":66,"mx":174,"my":65},{"lx":175,"ly":67,"mx":174,"my":66},{"lx":176,"ly":67,"mx":175,"my":67},{"lx":177,"ly":67,"mx":176,"my":67},{"lx":178,"ly":67,"mx":177,"my":67},{"lx":179,"ly":67,"mx":178,"my":67},{"lx":180,"ly":67,"mx":179,"my":67},{"lx":181,"ly":67,"mx":180,"my":67},{"lx":182,"ly":67,"mx":181,"my":67},{"lx":183,"ly":67,"mx":182,"my":67},{"lx":184,"ly":67,"mx":183,"my":67},{"lx":185,"ly":67,"mx":184,"my":67},{"lx":186,"ly":67,"mx":185,"my":67},{"lx":187,"ly":67,"mx":186,"my":67},{"lx":189,"ly":67,"mx":187,"my":67},{"lx":189,"ly":66,"mx":189,"my":67},{"lx":190,"ly":66,"mx":189,"my":66},{"lx":191,"ly":65,"mx":190,"my":66},{"lx":192,"ly":64,"mx":191,"my":65},{"lx":193,"ly":63,"mx":192,"my":64},{"lx":194,"ly":62,"mx":193,"my":63},{"lx":195,"ly":61,"mx":194,"my":62},{"lx":196,"ly":60,"mx":195,"my":61},{"lx":196,"ly":59,"mx":196,"my":60},{"lx":197,"ly":59,"mx":196,"my":59},{"lx":197,"ly":58,"mx":197,"my":59},{"lx":198,"ly":57,"mx":197,"my":58},{"lx":198,"ly":56,"mx":198,"my":57},{"lx":199,"ly":55,"mx":198,"my":56},{"lx":200,"ly":53,"mx":199,"my":55},{"lx":201,"ly":52,"mx":200,"my":53},{"lx":203,"ly":50,"mx":201,"my":52},{"lx":204,"ly":49,"mx":203,"my":50},{"lx":204,"ly":51,"mx":204,"my":49},{"lx":204,"ly":52,"mx":204,"my":51},{"lx":204,"ly":55,"mx":204,"my":52},{"lx":204,"ly":57,"mx":204,"my":55},{"lx":204,"ly":58,"mx":204,"my":57},{"lx":204,"ly":59,"mx":204,"my":58},{"lx":204,"ly":60,"mx":204,"my":59},{"lx":204,"ly":61,"mx":204,"my":60},{"lx":203,"ly":64,"mx":204,"my":61},{"lx":202,"ly":64,"mx":203,"my":64},{"lx":201,"ly":66,"mx":202,"my":64},{"lx":200,"ly":67,"mx":201,"my":66},{"lx":198,"ly":68,"mx":200,"my":67},{"lx":197,"ly":68,"mx":198,"my":68},{"lx":196,"ly":69,"mx":197,"my":68},{"lx":196,"ly":68,"mx":196,"my":69},{"lx":196,"ly":67,"mx":196,"my":68},{"lx":196,"ly":65,"mx":196,"my":67},{"lx":195,"ly":64,"mx":196,"my":65},{"lx":195,"ly":65,"mx":195,"my":64},{"lx":195,"ly":66,"mx":195,"my":65},{"lx":195,"ly":67,"mx":195,"my":66},{"lx":196,"ly":68,"mx":195,"my":67},{"lx":197,"ly":68,"mx":196,"my":68},{"lx":198,"ly":68,"mx":197,"my":68},{"lx":199,"ly":68,"mx":198,"my":68},{"lx":200,"ly":68,"mx":199,"my":68},{"lx":201,"ly":68,"mx":200,"my":68},{"lx":202,"ly":68,"mx":201,"my":68},{"lx":204,"ly":68,"mx":202,"my":68},{"lx":205,"ly":68,"mx":204,"my":68},{"lx":206,"ly":67,"mx":205,"my":68},{"lx":207,"ly":67,"mx":206,"my":67},{"lx":208,"ly":66,"mx":207,"my":67},{"lx":209,"ly":66,"mx":208,"my":66},{"lx":210,"ly":66,"mx":209,"my":66},{"lx":210,"ly":65,"mx":210,"my":66},{"lx":211,"ly":65,"mx":210,"my":65},{"lx":211,"ly":64,"mx":211,"my":65},{"lx":212,"ly":63,"mx":211,"my":64},{"lx":212,"ly":62,"mx":212,"my":63},{"lx":213,"ly":60,"mx":212,"my":62},{"lx":214,"ly":59,"mx":213,"my":60},{"lx":214,"ly":58,"mx":214,"my":59},{"lx":214,"ly":57,"mx":214,"my":58},{"lx":215,"ly":55,"mx":214,"my":57},{"lx":216,"ly":53,"mx":215,"my":55},{"lx":216,"ly":52,"mx":216,"my":53},{"lx":217,"ly":52,"mx":216,"my":52},{"lx":217,"ly":51,"mx":217,"my":52},{"lx":217,"ly":49,"mx":217,"my":51},{"lx":218,"ly":49,"mx":217,"my":49},{"lx":218,"ly":48,"mx":218,"my":49},{"lx":219,"ly":47,"mx":218,"my":48},{"lx":219,"ly":46,"mx":219,"my":47},{"lx":220,"ly":45,"mx":219,"my":46},{"lx":220,"ly":44,"mx":220,"my":45},{"lx":221,"ly":43,"mx":220,"my":44},{"lx":222,"ly":42,"mx":221,"my":43},{"lx":222,"ly":41,"mx":222,"my":42},{"lx":223,"ly":40,"mx":222,"my":41},{"lx":223,"ly":39,"mx":223,"my":40},{"lx":224,"ly":38,"mx":223,"my":39},{"lx":224,"ly":37,"mx":224,"my":38},{"lx":225,"ly":36,"mx":224,"my":37},{"lx":226,"ly":36,"mx":225,"my":36},{"lx":226,"ly":35,"mx":226,"my":36},{"lx":226,"ly":34,"mx":226,"my":35},{"lx":227,"ly":33,"mx":226,"my":34},{"lx":227,"ly":32,"mx":227,"my":33},{"lx":228,"ly":31,"mx":227,"my":32},{"lx":229,"ly":30,"mx":228,"my":31},{"lx":230,"ly":29,"mx":229,"my":30},{"lx":230,"ly":28,"mx":230,"my":29},{"lx":230,"ly":30,"mx":230,"my":28},{"lx":230,"ly":31,"mx":230,"my":30},{"lx":229,"ly":32,"mx":230,"my":31},{"lx":228,"ly":33,"mx":229,"my":32},{"lx":228,"ly":34,"mx":228,"my":33},{"lx":227,"ly":34,"mx":228,"my":34},{"lx":226,"ly":34,"mx":227,"my":34},{"lx":226,"ly":35,"mx":226,"my":34},{"lx":225,"ly":36,"mx":226,"my":35},{"lx":223,"ly":37,"mx":225,"my":36},{"lx":223,"ly":38,"mx":223,"my":37},{"lx":223,"ly":39,"mx":223,"my":38},{"lx":222,"ly":39,"mx":223,"my":39},{"lx":222,"ly":40,"mx":222,"my":39},{"lx":222,"ly":41,"mx":222,"my":40},{"lx":221,"ly":42,"mx":222,"my":41},{"lx":221,"ly":43,"mx":221,"my":42},{"lx":221,"ly":45,"mx":221,"my":43},{"lx":220,"ly":46,"mx":221,"my":45},{"lx":220,"ly":48,"mx":220,"my":46},{"lx":219,"ly":49,"mx":220,"my":48},{"lx":219,"ly":51,"mx":219,"my":49},{"lx":219,"ly":52,"mx":219,"my":51},{"lx":218,"ly":53,"mx":219,"my":52},{"lx":217,"ly":54,"mx":218,"my":53},{"lx":217,"ly":55,"mx":217,"my":54},{"lx":217,"ly":57,"mx":217,"my":55},{"lx":216,"ly":58,"mx":217,"my":57},{"lx":216,"ly":59,"mx":216,"my":58},{"lx":216,"ly":60,"mx":216,"my":59},{"lx":216,"ly":61,"mx":216,"my":60},{"lx":217,"ly":62,"mx":216,"my":61},{"lx":218,"ly":63,"mx":217,"my":62},{"lx":219,"ly":63,"mx":218,"my":63},{"lx":220,"ly":64,"mx":219,"my":63},{"lx":221,"ly":64,"mx":220,"my":64},{"lx":222,"ly":64,"mx":221,"my":64},{"lx":223,"ly":64,"mx":222,"my":64},{"lx":224,"ly":64,"mx":223,"my":64},{"lx":225,"ly":64,"mx":224,"my":64},{"lx":225,"ly":63,"mx":225,"my":64},{"lx":226,"ly":62,"mx":225,"my":63},{"lx":227,"ly":61,"mx":226,"my":62},{"lx":228,"ly":61,"mx":227,"my":61},{"lx":228,"ly":60,"mx":228,"my":61},{"lx":228,"ly":59,"mx":228,"my":60},{"lx":229,"ly":58,"mx":228,"my":59},{"lx":230,"ly":57,"mx":229,"my":58},{"lx":230,"ly":56,"mx":230,"my":57},{"lx":231,"ly":55,"mx":230,"my":56},{"lx":231,"ly":54,"mx":231,"my":55},{"lx":232,"ly":54,"mx":231,"my":54},{"lx":232,"ly":53,"mx":232,"my":54},{"lx":232,"ly":52,"mx":232,"my":53},{"lx":233,"ly":51,"mx":232,"my":52},{"lx":234,"ly":50,"mx":233,"my":51},{"lx":234,"ly":49,"mx":234,"my":50},{"lx":235,"ly":48,"mx":234,"my":49},{"lx":235,"ly":47,"mx":235,"my":48},{"lx":235,"ly":48,"mx":235,"my":47},{"lx":235,"ly":49,"mx":235,"my":48},{"lx":235,"ly":50,"mx":235,"my":49},{"lx":235,"ly":51,"mx":235,"my":50},{"lx":234,"ly":52,"mx":235,"my":51},{"lx":234,"ly":54,"mx":234,"my":52},{"lx":234,"ly":55,"mx":234,"my":54},{"lx":234,"ly":57,"mx":234,"my":55},{"lx":233,"ly":57,"mx":234,"my":57},{"lx":233,"ly":58,"mx":233,"my":57},{"lx":233,"ly":59,"mx":233,"my":58},{"lx":233,"ly":60,"mx":233,"my":59},{"lx":233,"ly":61,"mx":233,"my":60},{"lx":231,"ly":63,"mx":233,"my":61},{"lx":231,"ly":64,"mx":231,"my":63},{"lx":231,"ly":66,"mx":231,"my":64},{"lx":232,"ly":68,"mx":231,"my":66},{"lx":232,"ly":69,"mx":232,"my":68},{"lx":232,"ly":70,"mx":232,"my":69},{"lx":233,"ly":71,"mx":232,"my":70},{"lx":234,"ly":72,"mx":233,"my":71},{"lx":235,"ly":73,"mx":234,"my":72},{"lx":236,"ly":73,"mx":235,"my":73},{"lx":237,"ly":72,"mx":236,"my":73},{"lx":238,"ly":71,"mx":237,"my":72},{"lx":239,"ly":70,"mx":238,"my":71},{"lx":240,"ly":68,"mx":239,"my":70},{"lx":241,"ly":66,"mx":240,"my":68},{"lx":241,"ly":65,"mx":241,"my":66},{"lx":243,"ly":63,"mx":241,"my":65},{"lx":243,"ly":61,"mx":243,"my":63},{"lx":244,"ly":61,"mx":243,"my":61},{"lx":244,"ly":60,"mx":244,"my":61},{"lx":244,"ly":59,"mx":244,"my":60},{"lx":245,"ly":58,"mx":244,"my":59},{"lx":246,"ly":57,"mx":245,"my":58},{"lx":247,"ly":57,"mx":246,"my":57},{"lx":248,"ly":57,"mx":247,"my":57},{"lx":249,"ly":57,"mx":248,"my":57},{"lx":249,"ly":58,"mx":249,"my":57},{"lx":249,"ly":59,"mx":249,"my":58},{"lx":249,"ly":61,"mx":249,"my":59},{"lx":249,"ly":62,"mx":249,"my":61},{"lx":249,"ly":63,"mx":249,"my":62},{"lx":249,"ly":64,"mx":249,"my":63},{"lx":249,"ly":66,"mx":249,"my":64},{"lx":248,"ly":67,"mx":249,"my":66},{"lx":248,"ly":68,"mx":248,"my":67},{"lx":246,"ly":69,"mx":248,"my":68},{"lx":246,"ly":68,"mx":246,"my":69},{"lx":246,"ly":67,"mx":246,"my":68},{"lx":246,"ly":65,"mx":246,"my":67},{"lx":247,"ly":64,"mx":246,"my":65},{"lx":247,"ly":63,"mx":247,"my":64},{"lx":247,"ly":62,"mx":247,"my":63},{"lx":247,"ly":61,"mx":247,"my":62},{"lx":248,"ly":60,"mx":247,"my":61},{"lx":248,"ly":59,"mx":248,"my":60},{"lx":249,"ly":59,"mx":248,"my":59},{"lx":251,"ly":59,"mx":249,"my":59},{"lx":252,"ly":59,"mx":251,"my":59},{"lx":252,"ly":60,"mx":252,"my":59},{"lx":252,"ly":61,"mx":252,"my":60},{"lx":252,"ly":62,"mx":252,"my":61},{"lx":252,"ly":63,"mx":252,"my":62},{"lx":252,"ly":64,"mx":252,"my":63},{"lx":252,"ly":65,"mx":252,"my":64},{"lx":252,"ly":66,"mx":252,"my":65},{"lx":252,"ly":67,"mx":252,"my":66},{"lx":252,"ly":68,"mx":252,"my":67},{"lx":252,"ly":69,"mx":252,"my":68},{"lx":252,"ly":70,"mx":252,"my":69},{"lx":252,"ly":71,"mx":252,"my":70},{"lx":252,"ly":72,"mx":252,"my":71},{"lx":253,"ly":72,"mx":252,"my":72},{"lx":254,"ly":71,"mx":253,"my":72},{"lx":255,"ly":70,"mx":254,"my":71},{"lx":255,"ly":69,"mx":255,"my":70},{"lx":256,"ly":68,"mx":255,"my":69},{"lx":257,"ly":66,"mx":256,"my":68},{"lx":258,"ly":65,"mx":257,"my":66},{"lx":259,"ly":64,"mx":258,"my":65},{"lx":260,"ly":63,"mx":259,"my":64},{"lx":261,"ly":62,"mx":260,"my":63},{"lx":262,"ly":62,"mx":261,"my":62},{"lx":263,"ly":62,"mx":262,"my":62},{"lx":263,"ly":61,"mx":263,"my":62},{"lx":264,"ly":61,"mx":263,"my":61},{"lx":265,"ly":60,"mx":264,"my":61},{"lx":265,"ly":59,"mx":265,"my":60},{"lx":266,"ly":58,"mx":265,"my":59},{"lx":267,"ly":58,"mx":266,"my":58},{"lx":267,"ly":57,"mx":267,"my":58},{"lx":268,"ly":57,"mx":267,"my":57},{"lx":268,"ly":56,"mx":268,"my":57},{"lx":269,"ly":55,"mx":268,"my":56},{"lx":270,"ly":55,"mx":269,"my":55},{"lx":271,"ly":55,"mx":270,"my":55},{"lx":272,"ly":55,"mx":271,"my":55},{"lx":273,"ly":55,"mx":272,"my":55},{"lx":274,"ly":55,"mx":273,"my":55},{"lx":275,"ly":55,"mx":274,"my":55},{"lx":275,"ly":56,"mx":275,"my":55},{"lx":276,"ly":56,"mx":275,"my":56},{"lx":276,"ly":57,"mx":276,"my":56},{"lx":277,"ly":58,"mx":276,"my":57},{"lx":277,"ly":59,"mx":277,"my":58},{"lx":277,"ly":60,"mx":277,"my":59},{"lx":276,"ly":60,"mx":277,"my":60},{"lx":275,"ly":59,"mx":276,"my":60},{"lx":274,"ly":58,"mx":275,"my":59},{"lx":274,"ly":57,"mx":274,"my":58},{"lx":273,"ly":57,"mx":274,"my":57},{"lx":272,"ly":57,"mx":273,"my":57},{"lx":271,"ly":57,"mx":272,"my":57},{"lx":270,"ly":57,"mx":271,"my":57},{"lx":269,"ly":57,"mx":270,"my":57},{"lx":268,"ly":58,"mx":269,"my":57},{"lx":267,"ly":58,"mx":268,"my":58},{"lx":266,"ly":58,"mx":267,"my":58},{"lx":266,"ly":59,"mx":266,"my":58},{"lx":265,"ly":59,"mx":266,"my":59},{"lx":264,"ly":61,"mx":265,"my":59},{"lx":263,"ly":62,"mx":264,"my":61},{"lx":263,"ly":63,"mx":263,"my":62},{"lx":263,"ly":64,"mx":263,"my":63},{"lx":263,"ly":65,"mx":263,"my":64},{"lx":263,"ly":66,"mx":263,"my":65},{"lx":263,"ly":67,"mx":263,"my":66},{"lx":263,"ly":68,"mx":263,"my":67},{"lx":263,"ly":69,"mx":263,"my":68},{"lx":264,"ly":71,"mx":263,"my":69},{"lx":265,"ly":71,"mx":264,"my":71},{"lx":265,"ly":72,"mx":265,"my":71},{"lx":266,"ly":73,"mx":265,"my":72},{"lx":267,"ly":73,"mx":266,"my":73},{"lx":268,"ly":73,"mx":267,"my":73},{"lx":269,"ly":73,"mx":268,"my":73},{"lx":270,"ly":73,"mx":269,"my":73},{"lx":272,"ly":73,"mx":270,"my":73},{"lx":273,"ly":72,"mx":272,"my":73},{"lx":274,"ly":72,"mx":273,"my":72},{"lx":275,"ly":71,"mx":274,"my":72},{"lx":275,"ly":70,"mx":275,"my":71},{"lx":275,"ly":69,"mx":275,"my":70},{"lx":275,"ly":68,"mx":275,"my":69},{"lx":275,"ly":67,"mx":275,"my":68},{"lx":275,"ly":66,"mx":275,"my":67},{"lx":275,"ly":65,"mx":275,"my":66},{"lx":275,"ly":64,"mx":275,"my":65},{"lx":276,"ly":63,"mx":275,"my":64},{"lx":276,"ly":62,"mx":276,"my":63},{"lx":276,"ly":61,"mx":276,"my":62},{"lx":276,"ly":62,"mx":276,"my":61},{"lx":276,"ly":63,"mx":276,"my":62},{"lx":276,"ly":64,"mx":276,"my":63},{"lx":276,"ly":65,"mx":276,"my":64},{"lx":276,"ly":66,"mx":276,"my":65},{"lx":276,"ly":67,"mx":276,"my":66},{"lx":276,"ly":68,"mx":276,"my":67},{"lx":276,"ly":69,"mx":276,"my":68},{"lx":276,"ly":70,"mx":276,"my":69},{"lx":276,"ly":71,"mx":276,"my":70},{"lx":276,"ly":72,"mx":276,"my":71},{"lx":276,"ly":73,"mx":276,"my":72},{"lx":276,"ly":74,"mx":276,"my":73},{"lx":276,"ly":76,"mx":276,"my":74},{"lx":275,"ly":76,"mx":276,"my":76},{"lx":275,"ly":77,"mx":275,"my":76},{"lx":275,"ly":78,"mx":275,"my":77},{"lx":275,"ly":79,"mx":275,"my":78},{"lx":275,"ly":80,"mx":275,"my":79},{"lx":275,"ly":81,"mx":275,"my":80},{"lx":274,"ly":82,"mx":275,"my":81},{"lx":274,"ly":83,"mx":274,"my":82},{"lx":274,"ly":85,"mx":274,"my":83},{"lx":274,"ly":86,"mx":274,"my":85},{"lx":272,"ly":87,"mx":274,"my":86},{"lx":272,"ly":88,"mx":272,"my":87},{"lx":272,"ly":89,"mx":272,"my":88},{"lx":272,"ly":90,"mx":272,"my":89},{"lx":271,"ly":91,"mx":272,"my":90},{"lx":271,"ly":92,"mx":271,"my":91},{"lx":271,"ly":93,"mx":271,"my":92},{"lx":270,"ly":93,"mx":271,"my":93},{"lx":269,"ly":95,"mx":270,"my":93},{"lx":268,"ly":95,"mx":269,"my":95},{"lx":268,"ly":96,"mx":268,"my":95},{"lx":267,"ly":96,"mx":268,"my":96},{"lx":267,"ly":97,"mx":267,"my":96},{"lx":266,"ly":97,"mx":267,"my":97},{"lx":265,"ly":97,"mx":266,"my":97},{"lx":264,"ly":97,"mx":265,"my":97},{"lx":263,"ly":97,"mx":264,"my":97},{"lx":262,"ly":96,"mx":263,"my":97},{"lx":262,"ly":95,"mx":262,"my":96},{"lx":262,"ly":94,"mx":262,"my":95},{"lx":262,"ly":93,"mx":262,"my":94},{"lx":262,"ly":92,"mx":262,"my":93},{"lx":262,"ly":91,"mx":262,"my":92},{"lx":262,"ly":90,"mx":262,"my":91},{"lx":262,"ly":88,"mx":262,"my":90},{"lx":263,"ly":88,"mx":262,"my":88},{"lx":263,"ly":87,"mx":263,"my":88},{"lx":264,"ly":87,"mx":263,"my":87},{"lx":264,"ly":86,"mx":264,"my":87},{"lx":266,"ly":85,"mx":264,"my":86},{"lx":266,"ly":84,"mx":266,"my":85},{"lx":267,"ly":84,"mx":266,"my":84},{"lx":269,"ly":84,"mx":267,"my":84},{"lx":270,"ly":82,"mx":269,"my":84},{"lx":272,"ly":82,"mx":270,"my":82},{"lx":273,"ly":82,"mx":272,"my":82},{"lx":274,"ly":82,"mx":273,"my":82},{"lx":275,"ly":82,"mx":274,"my":82},{"lx":276,"ly":81,"mx":275,"my":82},{"lx":278,"ly":80,"mx":276,"my":81},{"lx":278,"ly":79,"mx":278,"my":80},{"lx":279,"ly":79,"mx":278,"my":79},{"lx":279,"ly":78,"mx":279,"my":79},{"lx":280,"ly":78,"mx":279,"my":78},{"lx":281,"ly":78,"mx":280,"my":78},{"lx":282,"ly":78,"mx":281,"my":78},{"lx":216,"ly":41,"mx":216,"my":40},{"lx":217,"ly":40,"mx":216,"my":41},{"lx":218,"ly":40,"mx":217,"my":40},{"lx":219,"ly":40,"mx":218,"my":40},{"lx":220,"ly":40,"mx":219,"my":40},{"lx":224,"ly":40,"mx":220,"my":40},{"lx":225,"ly":40,"mx":224,"my":40},{"lx":226,"ly":40,"mx":225,"my":40},{"lx":228,"ly":40,"mx":226,"my":40},{"lx":229,"ly":40,"mx":228,"my":40},{"lx":231,"ly":40,"mx":229,"my":40},{"lx":232,"ly":40,"mx":231,"my":40},{"lx":234,"ly":40,"mx":232,"my":40},{"lx":235,"ly":40,"mx":234,"my":40},{"lx":238,"ly":41,"mx":238,"my":40}]

Open in new window

and converted to the attached (1st).

However in the original application from where this data is coming from (Caspio), format looks like 2nd attachment, much thicker font.

How can I have Access displaying the same in the report?

Thanks in advance.
Untitled.png
Capture.PNG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
Before drawing the line(s), set the width of the line(s):

 
   Me.DrawWidth = 4

Open in new window

Of course, the value of 4 is only an example.
Hi Gustav,
Tried that but now users say they really meant to enlarge the signature.
How can I accomplish that?
Thanks,
Ben
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
That would be the Scale… settings. See:

Line Method
Hi,
So which values would you suggest I use instead of the following
            Me.Line (1200 + Value("lx"), Value("ly"))-(1200 + Value("mx"), Value("my")), vbBlack

Open in new window

Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
As you can see from the included code example, it's not instead of those values; it's a supplemental set of settings to set before drawing the line(s).

Start debugging the current values, then experiment with other (larger) values.
Hi Gustav,

My question is what for example should I try.
changing the 1200? or having Value("lx")*2..?

Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
I would leave those, only experimenting with the Scalexxxx settings.
Hi Gustav,
didnt notice you posted a comment..
Do you mean the following
        If Len(Signature & "") > 1000 Then
    
            Me.ScaleMode = 3
            Me.LabelPatientSignature.FontSize = 8
        Else
            Me.ScaleMode = 1
            Me.LabelPatientSignature.FontSize = 7
        End If

Open in new window

Tried that but doesn't help , only values 1 and 3 are visible but no noticeable difference between them.

Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
Not only ScaleMode, there are four more settings to play with.

But I would start with the example code at the link I provided to get acquainted with the impact of altering the settings.
Hi Gustav,
For some reason this line function looks too complicated for me...
And to be honest, I was not the one who programmed this at the first place.
Therefore unless I get exact steps what to try, I will probably end up handling over this task...
Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
You could upload a demo to work with.
Hi Gustav,
I requested last week from users some demo data, hope to get it soon.
Thanks,
Ben
Hi,
Sorry for the delay, hope to get this by tom.
Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
No hurry.
Hi,
Here you go.
Thanks,
Ben

<<Attachment removed - Scott Fell - EE Moderator>>
Most Valuable Expert 2015
Distinguished Expert 2018
Commented:
It is really try and error. I expanded the records and inserted these lines of code:

Me.ScaleHeight = 125
Me.ScaleWidth = 1550
                
Me.DrawWidth = 22

LeftValue = 600
    For Each Value In Json("values")
        If Len(Signature) > 100 Then
            Me.Line (LeftValue + Value("lx"), Value("ly"))-(LeftValue + Value("mx"), Value("my")), vbBlack
        Else
            Me.Line (LeftValue + Value("lx"), Value("ly") - 5)-(LeftValue + Value("mx") + 10, Value("my") + 5), vbBlack, BF
        End If
    Next Value

Open in new window

[/code]and got this result:

 

 <<Attachments removed - Scott Fell - EE Moderator>>
Hi,
Great, just having users review and will post feedback soon.
Thanks,
Ben
Hi Gustav,

My users are very picky...
They claim it does not look now like the original ones..(they look now blurry) will try to send you some pic of how they look in real, in order to compare...
Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
That, I guess, is due the enlargement. There are only as many points of the lines that the data (Json) contains.

For example, if you run the report with these parameters and your original "T Testing" sample signature:

      Me.ScaleHeight = 125
      Me.ScaleWidth = 1150 '1750
      Me.DrawWidth = 8 '22

Open in new window

you'll get a print quite close to your original picture.

So, it probably drills down to the resolution at which the original signature is captured.
Hi Gustav,

Will request from users to give username and pwd for the site where those signatures are being entered, so you can get to see what the originals look like...

Thanks,
Ben
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
But aren't they like your originally posted posted picture, capture.png?
If so, the resolution matches what I see in the report. If not, what is need is a capture with a better resolution, thus much better data to draw from.
Thank you very much for all your efforts Gustav!!!
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
You are welcome!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial