Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFPageMBS class.
DynaPDFPageMBS.BBox(type as Integer) as DynaPDFRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
use the constants kpbArtBox, kpbBleedBox, kpbCropBox, kpbMediaBox or kpbTrimBox.
If orientation gives you 90, 270, -90 or -270, you may want to swap width and height of the rectangle.
DynaPDFPageMBS.CalcPagePixelSize(DefScale as UInt32, Scale as single, FrameWidth as UInt32, FrameHeight as UInt32, Flags as UInt32, byref Width as UInt32, byref Height as UInt32)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This makes it possible to create the image in the required size so that it can be rendered without a border.
DynaPDFPageMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFPageMBS.GetWidthHeight(Flags as UInt32, byref Width as Single, byref Height as Single, Rotate as Integer = 0) as DynaPDFRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
DynaPDFPageMBS.SetBBox(type as integer, BBox as DynaPDFRectMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 18.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function is intended to be fast as possible. It requires no open page like DynaPDFMBS.SetBBox(), it does not change the default media or crop box, and it does not adjust the current coordinate system if the media box will be changed.
The function is useful if only one or more bounding boxes must be changed, whithout editing a page, or when a specific area of a page should be rendered. In the latter case change the crop box and restore it to the previous value when finish.
To delete a bounding box set the bounding box to 0, 0, 0, 0. The parameter BBox is required to be present, it cannot be nil.
If the function succeeds the return value is true. If the function fails the return value is false.
The items on this page are in the following plugins: MBS DynaPDF Plugin.