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

DynaPDF Manual - Page 723

Previous Page 722   Index   Next Page 724

Function Reference
Page 723 of 750
drawn without a border, set the parameter LineWidth zo zero or StrokeColor to the special constant
NO_COLOR.
If the interior should be transparent set FillColor to the special constant NO_COLOR.
Although the line width can be set to any positive floating point value, Adobe’s Acrobat or Reader
restrict the line width to 0 through 12 units. The line width should be restricted in the same way to
avoid issues in Adobe viewer products.
Remarks:
This function is implemented in an Ansi and Unicode compatible variant. Ansi strings are
interpreted in the Windows code page 1252.
Return values:
If the function succeeds the return value is the annotation handle, a value greater or equal zero. If the
function fails, the return value is a negative error code.
StampAnnot
Syntax:
LBOOL pdfStampAnnot(
const PPDF* IPDF,
// Instance pointer
TRubberStamp SubType, // Stamp type
double PosX,
// x-coordinate
double PosY,
// y-coordinate
double Width,
// Stamp width
double Height,
// Stamp height
const char* Author,
// Optional
const char* Subject,
// Optional
const char* Comment)
// Optional
typedef enum
{
rsApproved,
rsAsIs,
rsConfidential,
rsDepartmental,
rsDraft,
rsExperimental,
rsExpired,
rsFinal,
rsForComment,
rsForPublicRelease,
rsNotApproved,
rsNotForPublicRelease,
rsSold,
rsTopSecret,
rsUserDefined // See below
}TRubberStamp;
 

Previous topic: SquareAnnot

Next topic: StrokePath