DynaPDF Manual - Page 419

Previous Page 418   Index   Next Page 420

Function Reference
Page 419 of 777
double pdfGetLineWidth(
const PPDF* IPDF) // Instance pointer
The function returns the current line width used for stroked vector graphics and the border of
interactive objects.
SI32 pdfGetLinkHighlightMode(
const PPDF* IPDF) // Instance pointer
typedef enum
// Default
// Invert the contents of the annotation's bounding box
hmOutline, // Invert the annotations border
// Simulate a push button effect
// Update appearance stream on changes
The function returns the current highlight mode used for newly created annotations.
SI32 pdfGetLogMetafileSize(
const PPDF* IPDF,
// Instance pointer
const char* FileName, // File path to EMF file
struct TRectL* R)
// out -> Bounding rectangle
struct TRectL
SI32 Left;
SI32 Top;
SI32 Right;
SI32 Bottom;
The function retrieves the logical bounding box of an enhanced or Windows metafile. The parameter
FileName must be the file path to the EMF or WMF file. The parameter R gets the unscaled logical
bounding box of the metafile. This bounding box is required to calculate a user defined cutting area
or viewport (see the example below the description of the function).
Two WMF formats are available, the old non-portable WMF format and the newer portable WMF
format. Both formats must be converted to EMF with the GDI function SetWinMetaFileBits() before

Previous topic: GetLineCapStyle, GetLineJoinStyle

Next topic: GetLogMetafileSizeEx, GetMatrix