Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFParseInterfaceMBS class.
DynaPDFParseInterfaceMBS.ApplyPattern(ObjectPtr as Integer, Type as Integer, PatternPtr as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Type is one of the following constants:
| kptColored | = 0 |
| kptUnColored | = 1 |
| kptShadingPattern | = 2 |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.BeginLayer(OCHandle as Integer, InVisible as boolean) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The plugin will process the OCG object for you. So if handle is -1, there is no layer handle.
If it is >= 0, you have a handle. If it is < 0, something failed.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.BeginMarkedContent(MarkedContentType as integer, Invisible as boolean, Dict as String, ObjectHandle as Ptr) as integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 25.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The BeginMarkedContent and EndMarkedContent events are called for marked content
sequences including layers. The older BeginLayer / EndLayer events are executed only if
BeginMarkedContent / EndMarkedContent are not implemented.
Note also that BeginMarkedContent / EndMarkedContent or BeginLayer / EndLayer are executed
as usual but no drawing operator is executed if the current visibility state is invisible. Images and templates (Form XObject in PDF terms) are ignored if the visibility state is invisible.
In addition, path operators and the corresponding callback functions are executed if the visibility state is invisible but an operator that draws a path is not executed. This is because the terminating operator specifies how the path must be processed. Since clipping paths are pushed to the graphics state as usual path operators cannot be ignored. The visibility state does not affect the graphics state at all. Every operator that changes the graphics state must be considered.
If you implement this event, the BeingLayer and EndLayer events are not called.
DynaPDFParseInterfaceMBS.BeginPattern(ObjectPtr as Integer, Fill as Boolean, PatternType as Integer, BBox as DynaPDFRectMBS, Matrix as DynaPDFMatrixMBS, XStep as Double, YStep as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
PatternType is one of the following constants:
| kptColored | = 0 |
| kptUnColored | = 1 |
| kptShadingPattern | = 2 |
Return 1 to skip this pattern.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.BeginTemplate(ObjectPtr as Integer, Handle as Integer, BBox as DynaPDFRectMBS, Matrix as DynaPDFMatrixMBS) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You need to implement this event in order to get text, images and vector graphics from inside templates.
Return 1 to skip this template.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.BezierTo1(ObjectPtr as Integer, x1 as Double, y1 as Double, x3 as Double, y3 as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
Some examples using this event:
DynaPDFParseInterfaceMBS.BezierTo2(ObjectPtr as Integer, x2 as Double, y2 as Double, x3 as Double, y3 as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
Some examples using this event:
DynaPDFParseInterfaceMBS.BezierTo3(ObjectPtr as Integer, x1 as Double, y1 as Double, x2 as Double, y2 as Double, x3 as Double, y3 as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
Some examples using this event:
DynaPDFParseInterfaceMBS.ClipPath(ObjectPtr as Integer, EvenOdd as boolean, Mode as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For the Mode parameter, the kfm* constants are used.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.ClosePath(ObjectPtr as Integer, Mode as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For the Mode parameter, the kfm* constants are used.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.DrawShading(ObjectPtr as Integer, Type as Integer, Shading as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For the type parameter you use the kst* constants.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.EndLayer(OCHandle as Integer, InVisible as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFParseInterfaceMBS.EndMarkedContent(MarkedContentType as integer, Invisible as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 25.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you implement this event, the BeingLayer and EndLayer events are not called.
DynaPDFParseInterfaceMBS.EndPattern
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFParseInterfaceMBS.EndTemplate
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFParseInterfaceMBS.InsertImage(image as DynaPDFImageMBS) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can return zero on success or 1 to stop processing.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
Some examples using this event:
DynaPDFParseInterfaceMBS.LineTo(ObjectPtr as Integer, x as Double, y as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.MoveTo(ObjectPtr as Integer, x as Double, y as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.MulMatrix(ObjectPtr as Integer, matrix as DynaPDFMatrixMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this event:
DynaPDFParseInterfaceMBS.Rectangle(ObjectPtr as Integer, x as Double, y as Double, w as Double, h as Double) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
DynaPDFParseInterfaceMBS.RestoreGraphicState as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| event | DynaPDF | MBS DynaPDF Plugin | 8.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You need to handle your own stack of graphics states to keep track of what the current graphics state is. Otherwise you can't know the matrix of the current item when drawing.
You can break processing if necessary by returning a negative value. A return value of zero indicates success and processing continues.
The items on this page are in the following plugins: MBS DynaPDF Plugin.