


What do you do if you need 75% cross platform? How do you create a PDF? Your user can install on Windows some PDF print driver or on Mac the user can save prints to PDF in the print dialog.
Xojo tutorials movie#
Using the Movie class you may want to know the duration of that movie or get a picture at a given position?.īut what if you want to do this directly? And use existing PDFs as template?.
Xojo tutorials mac os#
How do you get an icon from your application in the top right of the menu bar on Mac OS X?.How do you render a chart without drawing everything yourself?.To extend Xojo with new features, you can use plugins. A plugin is a code library which gives you new classes, methods and controls in Xojo.įor example the MBS Xojo TIFF Plugin gives you a new TiffPictureMBS class which has all the little options you may need to process tiff files of any kind. With CMYK colors, special compression settings, multiple pictures, custom data fields, color profiles and XMP meta data. You can easily fill your plugins folder with 200 MB of plugin files. Xojo will only link the plugin code into your application which is needed by your code. Solutions with the MBS Plugins.įor the points above you find below the solutions: Saving JPEG After compiling you can look into the application (on Mac OS X) or into the Libs folder (on Windows) to see which plugins are used. The MBS Xojo JPEG Plugin has a folderitem.SaveAsJPEGMBS function which takes as a parameter the compression quality in percent. So you can save your JPEG files on Mac, Windows and Linux with any compression level you like. Also the JPEGExporterMBS class has many more options to save a jpg file. For example you can specify the resolution and the color profile. Creating PDFīest you check the article Creating PDF files in the Xojo Developer Magazine. The MBS Xojo MacOSX Plugin gives you CoreGraphics PDF classes for displaying, creating and modifying PDF files. But this is only available on Mac OS X.įor professional PDF handling on Mac OS X, Windows and Linux, I recommend the MBS Xojo DynaPDF Plugin. Compared with other professional solutions, the price is quite high, but this gives you a royalty free license. Watch the tutorial videos to learn more about this class. If your application is writing invoices as PDF files, you can use both CoreGraphics and DynaPDF to import an existing PDF as a template. Than you write your invoice table, the address and whatever text you like on top of it. Xojo label tutorial pdf#įinally you save everything as a new PDF file.
Xojo tutorials mac os x#
On Mac OS X you can have applications installing a menu in the menubar on the top right. The MBS Xojo Cocoa Plugin has all the classes needed to do this. The NSStatusItemMBS class can create a menu entry and attach a menu using the NSMenuMBS class. You should check the example projects and the tutorial video to learn about what you can do here. You can draw a lot of things yourself with the Graphics class in Xojo. But if you like to render a chart in 10 lines, you need professional help.
