Esempio n. 1
0
 /// <summary>
 /// Creates a new TPdfCommentProperties instance based on the data form another instance.
 /// </summary>
 /// <param name="aProps"></param>
 public TPdfCommentProperties(TPdfCommentProperties aProps)
 {
     FCommentType     = aProps.CommentType;
     FIcon            = aProps.Icon;
     FOpacity         = aProps.Opacity;
     FBackgroundColor = aProps.BackgroundColor;
     FLineColor       = aProps.LineColor;
 }
Esempio n. 2
0
 internal TCommentAnnot(real ax1, real ay1, real aWidth, real aHeight, string aComment, TPdfCommentProperties aCommentProperties) :
     base(ax1, ay1, aWidth, aHeight)
 {
     FComment           = aComment;
     FCommentProperties = aCommentProperties;
 }
Esempio n. 3
0
 internal void Comment(real x, real y, real width, real height, string comment, TPdfCommentProperties commentProperties)
 {
     if (FList.Count <= 0)
     {
         return;
     }
     FList[FList.Count - 1].Annots.Add(new TCommentAnnot(x, y, width, height, comment, commentProperties));
 }
Esempio n. 4
0
 internal void Comment(real x, real y, real width, real height, string comment, TPdfCommentProperties commentProperties)
 {
     PageTree.Comment(x, y, width, height, comment, commentProperties);
 }