Platforms to show: All Mac Windows Linux Cross-Platform
DynaPDFRasterizerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 13 properties
- property Handle as Integer
- property Height as Integer
- property MinLineWidth as Double
- property PDF as DynaPDFMBS
- property Pic as Picture
- property PixelFormat as Integer
- property Premultiply as Boolean
- property ScanlineLen as Integer
- property ScreenResolution as Integer
- property TempBuffer as Ptr
- property TempPixelFormat as Integer
- property TempScanlineLen as Integer
- property Width as Integer
- 13 methods
- method Abort
- method AddRasImage(Filter as Integer) as boolean
- method AttachImageBuffer(Pic as Picture, RenderWithAlpha as boolean = false) as boolean
- method AttachImageBuffer(Rows as Memoryblock, Buffer as Memoryblock, Width as UInt32, Height as UInt32, ScanlineLen as Int32, PixelFormat as UInt32) as boolean
- method Constructor(PDF as DynaPDFMBS, DeviceContextHandle as Integer, Width as UInt32, Height as UInt32, PixFmt as UInt32)
- method Constructor(PDF as DynaPDFMBS, Pic as Picture, RenderWithAlpha as boolean = false)
- method Constructor(PDF as DynaPDFMBS, Rows as Memoryblock, Buffer as Memoryblock, Width as UInt32, Height as UInt32, ScanlineLen as Int32, PixelFormat as UInt32)
- method Constructor(PDF as DynaPDFMBS, Width as Integer, Height as Integer)
- method Redraw(DeviceContextHandle as Integer, DestX as Integer, DestY as Integer)
- method RenderPage(page as DynaPDFPageMBS, options as DynaPDFRasterImageMBS) as boolean
- method RenderPageEx(DeviceContextHandle as Integer, byref DestX as Integer, byref DestY as Integer, page as DynaPDFPageMBS, options as DynaPDFRasterImageMBS) as boolean
- method RenderPageMT(page as DynaPDFPageMBS, options as DynaPDFRasterImageMBS) as boolean
- method ResizeBitmap(DeviceContextHandle as Integer, Width as Integer, Height as Integer) as boolean
- 11 constants
Pixel formats for raster functions.
Constant | Value | Description |
---|---|---|
kpxf1Bit | 0 |
1 bit per pixel black and white. |
kpxfABGR | 7 |
ABGR. |
kpxfARGB | 6 |
ARGB |
kpxfBGR | 3 |
BGR |
kpxfBGRA | 5 |
BGRA |
kpxfCMYK | 9 |
CMYK without alpha |
kpxfCMYKA | 10 |
CMYK with alpha |
kpxfGray | 1 |
8 bit grayscale. |
kpxfGrayA | 8 |
8 bit grayscale with alpha. |
kpxfRGB | 2 |
RGB |
kpxfRGBA | 4 |
RGBA |
This class has no sub classes.
Some examples using this class:
- /DynaPDF/JBig Test
- /DynaPDF/PDF Viewer Example with links
- /DynaPDF/Raster/DynaPDF Display PDF
- /DynaPDF/Raster/DynaPDF Display PDF with Links
- /DynaPDF/Raster/PDF Benchmark
- /DynaPDF/Raster/RenderPageToImage test
- /DynaPDF/Raster/RenderPageToImage variants
- /DynaPDF/Raster/RenderPDFFile Test with Color Management
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
- /DynaPDF/Web Edition/WebPDF Web
Blog Entries
- MBS Xojo Plugins, version 22.5pr3
- News from the MBS Xojo Plugins in version 21.5
- MBS Xojo Plugins, version 21.5pr1
- MBS Xojo Plugins, version 21.4pr3
- Multithreaded plugin functions can increase speed of Xojo application
- MBS Xojo Plugins in version 19.0
- MBS Xojo Plugins, version 18.6pr2
- Problems with killing Xojo threads with plugin calls.
- Multithreaded plugin functions can increase speed of Real Studio application
- RenderPageToImage
Xojo Developer Magazine
- 17.5, page 39: What's New in the MBS Plugins, With the Plugins growing every year, here are new capabilities you may have missed by Stefanie Juchmes
- 17.2, page 10: News
Videos
Release notes
- Version 22.5
- Added Premultiply property to DynaPDFRasterizerMBS class.
- Version 21.5
- Added ScreenResolution property to DynaPDFRasterizerMBS class.
- Version 21.4
- Fixed problem with RenderPageMT in DynaPDFRasterizerMBS class, where background of picture was not initialized with white.
- Version 19.0
- Added DirectDraw support to DynaPDFRasterizerMBS class.
- Added option to render with alpha and output with alpha channel to Xojo pictures for DynaPDFRasterizerMBS class.
- Added properties to DynaPDFRasterizerMBS to inspect state.
- Changed DynaPDFRasterizerMBS to pre-fill picture in white or black for the flags.
- Version 18.2
- Fixed DynaPDFRasterizerMBS.AttachImageBuffer to work with newer Xojo pictures.
The items on this page are in the following plugins: MBS DynaPDF Plugin.
DynaPDFRasterImageMBS - DynaPDFRawImageMBS