DynaPDF Manual - Page 787

Previous Page 786   Index   Next Page 788

Function Reference
Page 787 of 818
SetWordSpacing
Syntax:
double pdfGetWordSpacing(
const PPDF* IPDF, // Instance pointer
double Value)
// Word spacing
The function sets the word spacing.
Default value = 0
Value = 0
Word Space
Value = 80
Word
Space
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetXFAStream
Syntax:
LBOOL pdfSetXFAStream(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Stream index
const void* Buffer, // XFA buffer
UI32 BufSize)
// Buffer size in bytes
The function replaces the contents of an XFA stream with new contents. Index must be a valid XFA
resource index. XFA streams can be enumerated with GetXFAStream() / GetXFAStreamCount().
The function does not check whether the provided XFA buffer is valid. The buffer is written to the
stream as is.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetWMFDefExtent, SetWMFPixelPerInch

Next topic: SkewCoords


Start Chat