Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

DynaPDF.SetContent

Replaces the content stream of the currently open page or template with a new one.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 7.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetContent"; PDF; Content )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
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.SetCompressionLevel   -   DynaPDF.SetDocInfo

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins