Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetContent
Replaces the content stream of the currently open page or template with a new one.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 7.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.SetContent"; PDF; Content ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Content | The new content data. |
Result
Returns OK or error.
Description
Replaces the content stream of the currently open page or template with a new one.If the parameter Buffer is empty the content stream of the page or template will be deleted. In the latter case page resources such as fonts, images and so on will be deleted from the page object too.
Use this function in combination with DynaPDF.GetContent if you need to change a content stream in a manner that DynaPDF does not supports. Do never change a content stream when you don't know exactly what you are doing.
See also SetContent function in DynaPDF manual.
See also
- DynaPDF.GetAscent
- DynaPDF.GetContent
- DynaPDF.GetDescent
- DynaPDF.GetFontCount
- DynaPDF.New
- DynaPDF.ParseContent
- DynaPDF.SetFont
- DynaPDF.SetFontEx
- DynaPDF.SetFontWeight
- DynaPDF.SetTextRect
Blog Entries
Release notes
- Version 7.0
- Added DynaPDF.GetContent and DynaPDF.SetContent.
Created 13th December 2016, last changed 13th December 2016
DynaPDF.SetCompressionLevel - DynaPDF.SetDocInfo
Feedback: Report problem or ask question.
Links
MBS Xojo blog