Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 329

Previous Page 328   Index   Next Page 330

Function Reference
Page 329 of 766
// Annotation or if this annotation represents a state of a base
// annotation. In this case, the annotation type is always atText and
// only the following members should be considered:
//
State
-> The current state
//
StateModel -> Marked, Review, and so on
//
CreateDate -> Creation Date
//
ModDate
-> Modification Date
//
Author
-> The user who has set the state
//
Content
-> Not displayed in Adobe's Acrobat...
//
Subject
-> Not displayed in Adobe's Acrobat...
// The PopUp annotation of a text annotation which represent an
// Annotation State must be ignored.
SI32
Parent;
SI32
PopUp;
// Handle of the PopUp annotation if any
char*
State;
// The state of the annotation
char*
StateModel; // State model (Marked, Review, ...)
// FileAttach annotations only. This is a handle of an embedded file.
// The embedded file can be accessed with GetEmbeddedFile().
SI32
EmbeddedFile;
char*
Subtype;
// Set only, if Type == atUnknown
LBOOL
MarkupAnnot; // If true, the annotation is a markup
// annotation. Markup annotations can be
// flattened separately (FlattenAnnots()).
float
Opacity;
// Opacity = 1.0 = Opaque,
// Opacity < 1.0 = Transparent, Markup
// annotations only
float*
QuadPoints;
// Highlight, Link, and Redact annotations only
UI32
QuadPointsCount; // Number of values in the array. Since a quadpoint requires
// always four coordinate pairs, the number of QuadPoints is
// QuadPointsCount divided by 8.
float*
DashPattern;
// If BorderStyle == bsDashed
UI32
DashPatternCount;// Number of values in the array
char*
Intent;
// Markup annotations only. The intent allows to distinguish
// between different uses of an annotation. For example, line
// annotations have two intents: LineArrow and LineDimension.
TLineEndStyle LE1;
// Style of the start point -> Line and PolyLine annotations only
TLineEndStyle LE2;
// Style of the end point -> Line and PolyLine annotations only
float*
Vertices;
// Line, PolyLine, and Polygon annotations only
UI32
VerticesCount;
// Number of values in the array. This is the raw number of
// floating point values. Since a vertice requires always two
// coordinate pairs, the number of vertices or points is
// VerticeCount divided by 2.
// Line annotations only. These properties should only be considered if the member Intent is set
// to the string "LineDimension".
LBOOL
Caption;
// If true, the annotation string Content is used as caption. The
// string is shown in a PopUp annotation otherwise.
float
CaptionOffsetX;
// Horizontal offset of the caption from its normal position
float
CaptionOffsetY;
// Vertical offset of the caption from its normal position
TLineCaptionPos CaptionPos;
// The position where the caption should be drawn if present
float
LeaderLineLen;
// Length of the leader lines (positive or negative)
float
LeaderLineExtend;// Optional leader line extend beyond the leader line
float
LeaderLineOffset;// Amount of space between the endpoints of the annotation and
// the leader lines.
TBorderEffect BorderEffect;
// Circle, Square, FreeText, and Polygon annotations.
char*
RichStyle;
// Optional default style string. -> FreeText annotations.
char*
RichText;
// Optional rich text string (RC key). -> Markup annotations.
const ILST**
InkList;
// Ink annotations only. Array of array. The sub arrays can be
// accessed with GetInkList().
UI32
InkListCount;
// Number of ink arrays.
SI32
OC;
// Handle of an OCG or OCMD or -1 if not set. See description.
};
 

Previous topic: GetAnnotEx

Next topic: Migration states