Object documentation: PdfDocument B4A Library Printing and Pdf creation - Erel    May 18, 2020   (54 reactions)   tags: print, pdf, pdf print, Printing and Pdf with the PdfDocument object.
2. Printing with the Printer object.
Lets start with PdfDocument.
Dim pdf As PdfDocument
pdf.Initialize
pdf.StartPage(595, 842) 'A4 size
pdf.Canvas.DrawLine(2, 2, 593... B4A Question PDFDocument in PDFium and Printing libraries - hatzisn    Apr 2, 2020 Hey everyone,
I want to create a PDF document and display it the PDF View created with PDFium. There is a problem in this. The Object PDFDocument is apparent in both libraries (Printing & PDFIum). Is there a way to define to which object I am referring to (Like Namespace in .NET)?
PDFium library
https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/
Printing library
https://www... 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..., mFont_Roboto_Regular, (14 / mScale))
PdfDocument requires that you do a StartPage before... B4A Class PDFDocument API 19+ - stevel05    Jun 20, 2014   (9 reactions) From API level 19 (KitKat) Android introduced an android.graphics.pdf package that allows sending an... B4A Question PDFDocument 3Mb per file - AHilberink    Dec 11, 2023 Hi, I am using: Dim FileName As String = "Geleide"&Formuliernr.Text Dim Out As OutputStream = File.OpenOutput(Provider.SharedFolder,FileName&".jpg", False) btnMail.Visible=False Dim PanelShot As B4XBitmap = ScrollView2D1.Panel.As(B4XView).SnapShot PanelShot.WriteToStream(Out, 50, "JPEG") Out.Close Dim PDF As PdfDocument PDF.Initialize PDF.StartPage(595, 842) 'A4 size Dim DestRec As Rect DestRec.Initialize(0... B4A Question Conflict between PdfDocument and PDFium. - zed (first post)    Jun 13, 2023 Little mistake. Sorry
Solution Post#5 ... B4A Question PdfDocument -Print DrawRect Proportions and misaligned problems. - WebQuest (first post)    Jun 1, 2023 Because on two different Computers A PDF with different aspect ratio is generated. Does it depend o... B4A Question Using pdfdocument and adding an barcode font fails - heldenssjoerd (first post)    Mar 22, 2022 Erel, you sugggested to switch to B4XPages buyt thats not an option right now. It takes to much time... B4A Question PDFDocument - Text Tabs - adriano.freitas (first post)    Jul 19, 2021 My apologies. I'm new here and I'm still getting used to it. I got a solution for this case by luck. I'm improving and wh... B4A Question PDFDocument and word wrap - resolved - Nokia (first post)    Jul 15, 2021   (1 reaction) As PdfDocument, Text As String, x As Float, y As Float, Length As Float, Font As Typeface,TextSize As Float, TextColor As Int, Alignment As String) As PdfDocument
Dim y1 As Float = y
Dim b As Int = 0... Page: 1   2   3   4   5   6   7   |