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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetResolution

Sets the image resolution.

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

MBS( "DynaPDF.SetResolution"; PDF; Value )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Value Image resolution in DPI. 150

Result

Returns OK on success.

Description

Sets the image resolution.
The function sets the resolution in DPI (Dots per Inch), in which images are stored by DynaPDF. The property will be ignored if the property SaveNewImageFormat was set to false. 1 bit images are always stored in the original resolution. The image resolution must be in the range 72 to 2048 DPI.
Default value = 150 (DPI)

See also SetResolution function in DynaPDF manual.

Examples

Limit images to a maximum of 300 dpi:

MBS( "DynaPDF.SetResolution"; $PDF; 300 )

See also

Example Databases


DynaPDF.SetReplaceICCProfileData   -   DynaPDF.SetSaveNewImageFormat

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos