B4J Question Canvas to PDF - moore_it    Jul 24, 2019 Hi community,
it's possible to convert an canvas into a PDF file ?
Thanks in advice... B4A Library Printing and Pdf creation - Erel    May 18, 2020   (54 reactions)   tags: print, pdf, pdf print, Printing and Pdf pdf As PdfDocument
pdf.Initialize
pdf.StartPage(595, 842) 'A4 size
pdf.Canvas.DrawLine(2, 2, 593 , 840, Colors.Blue, 4)
pdf.Canvas.DrawText("Hello", 100, 100, Typeface.DEFAULT_BOLD, 30... B4i Tutorial Reading and Writing PDF Documents - Erel    Dec 17, 2014   (11 reactions)   tags: PDF reading and writing PDF documents. The Canvas object allows us to display existing PDF documents and....pdf") The next step is to draw one of the pages with Canvas.DrawPDF: cvs.DrawPDF(pdf, 1... a new PDF document The Canvas object also allows us to create new PDF documents. Instead of drawing to a View, the Canvas draws to a PDF file. Dim pcvs As Canvas pcvs.InitializePDF(File.DirDocuments, "1.pdf", 612, 792) The line above creates a new canvas object that will draw to... B4i Question PDF in Canvas Disappears - Erel (first post)    Apr 27, 2023   (1 reaction) I never tried putting a canvas inside WebView. Might work.
Anyway, you should initialize the canvas once and later resize it.... B4i Question PDF and Canvas for IPhones - SFE (first post)    Apr 25, 2023 Thanks for taking time out of your busy schedule. I am now moving forward again thanks to your guidance.... Wish PdfDocument - Allow Canvas Measuring without StartPage - Robert Valentino    Feb 27, 2019
Private mPDF As PdfDocument
mPDF.Initialize
mPDF.StartPage(mPageSize.Width, mPageSize.Height)
TextHeight = mPDF.Canvas.MeasureStringHeight(mMeasureHeightString, mFont_Roboto_Regular, (10 / mScale))
SubHeadingHeight = mPDF.Canvas.MeasureStringHeight(mMeasureHeightString... B4i Question display pdf with canvas - Semen Matusovskiy (first post)    Sep 1, 2021 I have no idea what does Release. No error is already good :)
Well, a sample is attached. Tested in... B4A Question pdf.Canvas.DrawText - Giusy (first post)    Mar 18, 2019 See this example: https://www.b4x.com/android/forum/threads/drawing-multiline-text.103845/
Thank you... B4A Question Draw panel views programatically on PDF Canvas - Erel (first post)    Jul 4, 2018   (1 reaction) The simplest way to get a bitmap from a view is with XUI library:
Dim x As B4XView = YourPanel
Dim bmp As Bitmp = x.Snapshot
It does work with off screen views as demonstrated with this code:
Dim ... Italian Stampare pdf di un canvas - LucaMs (first post)    Apr 2, 2021   (1 reaction) Tienilo pronto per la prossima volta, @Star-Dust
_4w5yIivtmo... Page: 1   2   3   4   5   6   7   |