Page layers for windows

broken image

string contentType = 'application/pdf' //Define the file name. Close ( true ) //Defining the ContentType for PDF file. MemoryStream stream = new MemoryStream () document.

broken image

DrawEllipse ( pen, bounds ) //Save and close the document. TranslateTransform ( 100, 180 ) //Draw ellipse. DrawArc ( pen, bounds, 360, 360 ) //Add another layer on the page. Red, 50 ) RectangleF bounds = new RectangleF ( 0, 0, 50, 50 ) graphics. TranslateTransform ( 100, 60 ) //Draw arc.

broken image

Add ( 'Layer1' ) PdfGraphics graphics = layer. PdfDocument document = new PdfDocument () //Add the page.

broken image