/// <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; }
internal TCommentAnnot(real ax1, real ay1, real aWidth, real aHeight, string aComment, TPdfCommentProperties aCommentProperties) : base(ax1, ay1, aWidth, aHeight) { FComment = aComment; FCommentProperties = aCommentProperties; }
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)); }
internal void Comment(real x, real y, real width, real height, string comment, TPdfCommentProperties commentProperties) { PageTree.Comment(x, y, width, height, comment, commentProperties); }