Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetMetaConvFlags
Sets the metadata conversion flag.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 7.3 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "DynaPDF.SetMetaConvFlags"; PDF; Flags ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Flags | The flags. | "Default" |
Result
Returns OK or error.
Description
Sets the metadata conversion flag.You can pass flags as text list of flag names or calculate the flag values.
Flag name | Hex Number value | Description |
Default | 00000000 | Default conversion |
Debug | 00000001 | Write debug information into the content stream |
ShowBounds | 00000002 | Show the bounding boxes of text strings |
NoTextScaling | 00000004 | Do not scale text |
ClipView | 00000008 | Draw the file into a clipping rectangle |
UseRclBounds | 00000010 | Use rclBounds instead of rclFrame |
NoClippingRgn | 00000040 | Disables SelectClippingRegion, IntersectClipRect, and SelectClipPath |
NoFontEmbedding | 00000080 | Do not embed fonts -> Fonts should be embedded!!! |
NoImages | 00000100 | Ignore image records |
NoStdPatterns | 00000200 | Ignore standard patterns |
NoBmpPatterns | 00000400 | Ignore bitmap patterns |
NoText | 00000800 | Ignore text records |
UseUnicode | 00001000 | Ignore ANSI_CHARSET |
UseTextScaling | 00004000 | Scale text instead of using the intercharacter spacing array |
NoUnicode | 00008000 | Avoid usage of Unicode fonts -> recommended to enable PDF 1.2 compability |
FullScale | 00010000 | Recommended if 32 bit coordinates are used |
UseRclFrame | 00020000 | This flag should be set if the rclFrame rectangle is not properly set |
DefBkModeTransp | 00040000 | Initialize the background mode to transparent (SetBkMode() overrides this state). |
ApplyBidiAlgo | 00080000 | Apply the bidirectional algorithm on Unicode strings |
GDIFontSelection | 00100000 | Use the GDI to select fonts |
RclFrameEx | 00200000 | If set, and if the rclBounds rectangle is larger than rclFrame, the function extends the output rectangle according to rclBounds and uses the resulting bounding box to calculate the image size (rclBounds represents the unscaled image size). This is probably the correct way to calculate the image size. However, to preserve backward compatibility the default calculation cannot be changed. |
NoTextClipping | 00400000 | If set, the ETO_CLIPPED flag in text records is ignored. |
SrcCopy_Only | 00800000 | If set, images which use a ROP code other than SRCCOPY are ignored. This is useful when processing Excel 2007 spool files. |
ClipRclBounds | 01000000 | If set, the graphic is drawn into a clipping path with the size of rclBounds. This flag is useful if the graphic contains content outside of its bounding box. |
DisableRasterEMF | 02000000 | If set, EMF files which use unsupported ROP codes are not rastered. |
NoBBoxCheck | 04000000 | If set, the rclBounds and rclFrame rectangles are used as is. DynaPDF uses normally the rclBounds rectangle to calculate the picture size if the resolution of the EMF file seems to be larger than 1800 DPI since this is mostly an indication that the rclFrame rectangle was incorrectly calculated. If you process EMF files in such a high resolution then this flag must be set. The flag can be set by default. |
IgnoreEmbFonts | 08000000 | If set, embedded fonts in GDIComment records will be ignored. This flag must be set if the fonts of an EMF spool file were pre-loaded with ConvertEMFSpool(). Spool fonts must always be loaded in a pre-processing step since required fonts are not necessarily embedded in the EMF files. |
See also SetMetaConvFlags function in DynaPDF manual.
See also
This function checks for a license.
Created 18th May 2017, last changed 18th May 2017
