Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 405

Previous Page 404   Index   Next Page 406

Function Reference
Page 405 of 750
GetLineWidth
Syntax:
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.
GetLinkHighlightMode
Syntax:
SI32 pdfGetLinkHighlightMode(
const PPDF* IPDF) // Instance pointer
typedef enum
{
hmNone,
// Default
hmInvert,
// Invert the contents of the annotation's bounding box
hmOutline, // Invert the annotations border
hmPush,
// Simulate a push button effect
hmPushUpd
// Update appearance stream on changes
}THighlightMode;
The function returns the current highlight mode used for newly created annotations.
GetLogMetafileSize
Syntax:
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).
Remarks:
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: GetLineJoinStyle

Next topic: GetMatrix