Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetResolution
Sets the image resolution.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetResolution"; PDF; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
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
- DynaPDF.GetAnnotation
- DynaPDF.GetResolution
- DynaPDF.InsertImage
- DynaPDF.InsertImageFile
- DynaPDF.New
- DynaPDF.ReadImageFormat
- DynaPDF.SetSaveNewImageFormat
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
DynaPDF.SetReplaceICCProfileData - DynaPDF.SetSaveNewImageFormat