0

I know this question has been asked multiple times, but what I need precisely is using a PrintDocument which is available in C#, which uses C# and not HTML to design the document itself. Any extra help which includes linking tutorials will also be much appreciated. Thank you! For some general context, C# uses Graphics variable 'g' to draw elements on the document.

g.drawString("Hello", Font, Brush, X, Y)
Martin R
  • 529,903
  • 94
  • 1,240
  • 1,382
Ketan Dubey
  • 430
  • 8
  • 19
  • 1
    I assume that you read [Generating PDF Content](https://developer.apple.com/library/content/documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GeneratingPDF/GeneratingPDF.html) from Apple's "Drawing and Printing Guide for iOS"? – Yes, that is Objective-C, but it works the same from Swift: Create a PDF context and draw to it. – Martin R Jul 11 '17 at 13:48
  • Here is a simple example: https://stackoverflow.com/questions/32113468/how-to-draw-text-in-pdf-context-in-swift. – Martin R Jul 11 '17 at 13:49
  • Thank you @MartinR I will try these and let you know. – Ketan Dubey Jul 11 '17 at 13:53

0 Answers0