Platforms to show: All Mac Windows Linux Cross-Platform
DynaPDFParseInterfaceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You need to implement the BeginTemplate event in order to get events for images, vector graphics and text on the templates used on the page.
All events which return an integer value can break processing if necessary. A return value of zero indicates success and processing continues. A return value of 1 of the BeginTemplate or BeginPattern events indicates that the object should be skipped. The corresponding content streams are not executed in this case. This can be useful when extracting images. Any other return value breaks processing.
- 36 events
- event ApplyPattern(ObjectPtr as Integer, Type as Integer, PatternPtr as Integer) as Integer
- event BeginLayer(OCHandle as Integer, InVisible as boolean) as Integer
- event BeginPattern(ObjectPtr as Integer, Fill as Boolean, PatternType as Integer, BBox as DynaPDFRectMBS, Matrix as DynaPDFMatrixMBS, XStep as Double, YStep as Double) as Integer
- event BeginTemplate(ObjectPtr as Integer, Handle as Integer, BBox as DynaPDFRectMBS, Matrix as DynaPDFMatrixMBS) as Integer
- event BezierTo1(ObjectPtr as Integer, x1 as Double, y1 as Double, x3 as Double, y3 as Double) as Integer
- event BezierTo2(ObjectPtr as Integer, x2 as Double, y2 as Double, x3 as Double, y3 as Double) as Integer
- event BezierTo3(ObjectPtr as Integer, x1 as Double, y1 as Double, x2 as Double, y2 as Double, x3 as Double, y3 as Double) as Integer
- event ClipPath(ObjectPtr as Integer, EvenOdd as boolean, Mode as Integer) as Integer
- event ClosePath(ObjectPtr as Integer, Mode as Integer) as Integer
- event DrawShading(ObjectPtr as Integer, Type as Integer, Shading as Integer) as Integer
- event EndLayer(OCHandle as Integer, InVisible as boolean)
- event EndPattern
- event EndTemplate
- event InsertImage(image as DynaPDFImageMBS) as Integer
- event LineTo(ObjectPtr as Integer, x as Double, y as Double) as Integer
- event MoveTo(ObjectPtr as Integer, x as Double, y as Double) as Integer
- event MulMatrix(ObjectPtr as Integer, matrix as DynaPDFMatrixMBS)
- event Rectangle(ObjectPtr as Integer, x as Double, y as Double, w as Double, h as Double) as Integer
- event RestoreGraphicState as Integer
- event SaveGraphicState as Integer
- event SetCharSpacing(ObjectPtr as Integer, Value as Double)
- event SetExtGState(ObjectPtr as Integer, GS as DynaPDFExtGState2MBS)
- event SetFillColor(ObjectPtr as Integer, NumComps as Integer, Color1 as Double, Color2 as Double, Color3 as Double, Color4 as Double, Colors() as Double, ColorspaceType as Integer, ColorSpace as DynaPDFColorSpaceMBS)
- event SetFont(ObjectPtr as Integer, fontType as Integer, Embedded as boolean, FontName as string, Style as Integer, FontSize as Double, FontHandle as Integer, FontInfo as DynaPDFFontInfoMBS)
- event SetLeading(ObjectPtr as Integer, Value as Double)
- event SetLineCapStyle(ObjectPtr as Integer, Style as Integer)
- event SetLineDashPattern(ObjectPtr as integer, dash() as Double, NumValues as integer, Phase as Double)
- event SetLineJoinStyle(ObjectPtr as Integer, Style as Integer)
- event SetLineWidth(ObjectPtr as Integer, Value as Double)
- event SetMiterLimit(ObjectPtr as Integer, Value as Double)
- event SetStrokeColor(ObjectPtr as Integer, NumComps as Integer, Color1 as Double, Color2 as Double, Color3 as Double, Color4 as Double, Colors() as Double, ColorspaceType as Integer, ColorSpace as DynaPDFColorSpaceMBS)
- event SetTextDrawMode(ObjectPtr as Integer, Mode as Integer)
- event SetTextScale(ObjectPtr as Integer, Value as Double)
- event SetWordSpacing(ObjectPtr as Integer, Value as Double)
- event ShowTextArrayA(ObjectPtr as Integer, Matrix as DynaPDFMatrixMBS, Kerning() as DynapdfTextRecordAMBS, Count as Integer, Width as Double) as Integer
- event ShowTextArrayW(Source() as DynaPDFTextRecordAMBS, Matrix as DynapdfMatrixMBS, Kerning() as DynapdfTextRecordWMBS, Count as Integer, Width as Double, Decoded as boolean) as Integer
This class has no sub classes.
Some methods using this class:
- DynaPDFMBS.ParseContent(ParseInterface as DynaPDFParseInterfaceMBS, flags as Integer) as boolean
Some examples using this class:
- /DynaPDF/Extract images
- /DynaPDF/List fonts in PDF
- /DynaPDF/Parse PDF Content
- /DynaPDF/Parse PDF Content iOS
- /DynaPDF/Text Positions
Blog Entries
- MBS Xojo Plugins, version 24.5pr6
- MBS Xojo Plugins, version 24.2pr1
- MBS Xojo Plugins, version 19.6pr1
- DynaPDF Text Position Examples updated
- DynaPDF Text Position Examples
- MBS Xojo / Real Studio Plugins, version 15.4pr5
- MBS Xojo / Real Studio Plugins, version 14.2pr7
- MBS Real Studio Plugins, version 13.0fc2
- MBS Real Studio Plugins, version 12.5pr2
- MBS Real Studio Plugins, version 12.4pr9
Release notes
- Version 24.5
- Improved DynaPDFImageMBS class to have ImageHandle and ImageIndex properties set if you use DynaPDFParseInterfaceMBS class.
- Version 24.2
- Fixed a bug with SetLineDashPattern event in DynaPDFParseInterfaceMBS class, where the dash array was nil instead of providing the values.
- Version 20.0
- Changed SetLineDashPattern event in DynaPDFParseInterfaceMBS class to pass double array instead of MemoryBlock and phase parameter as double.
The items on this page are in the following plugins: MBS DynaPDF Plugin.
DynaPDFPageStatisticMBS - DynaPDFParserMBS