Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGPDFContextMBS class.
CGPDFContextMBS.AddDestinationAtPoint(name as string, x as Double, y as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
name: A destination name.
x/y: A location in the current page of the PDF graphics context.
Available in Mac OS X v10.4 and later.
CGPDFContextMBS.BeginPage(pageInfo as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
pageInfo: A dictionary that contains key-value pairs that define the page properties.
You must call the function EndPage to signal the end of the page.
Available in Mac OS X v10.4 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
After closing the context, all pending data is written to the context destination, and the PDF file is completed. No additional data can be written to the destination context after the PDF document is closed.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can call EndPage only after you call the function BeginPage.
CGPDFContextMBS.SetDestinationForRect(name as string, x as Double, y as Double, w as Double, h as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
name: A destination name.
x,y,w,h: A rectangle that specifies an area of the current page of a PDF graphics context. The rectangle is specified in default user space (not device space).
Available in Mac OS X v10.4 and later.
CGPDFContextMBS.SetURLForRect(url as string, x as Double, y as Double, w as Double, h as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
url: A string that specifies the destination of the contents associated with the rectangle.
rect: A rectangle specified in default user space (not device space).
Available in Mac OS X v10.4 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.