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
 /// <summary>
 /// Creates a new instance of a comment object.
 /// </summary>
 /// <param name="aCommentType"></param>
 /// <param name="aIcon"></param>
 /// <param name="aOpacity"></param>
 /// <param name="aBackgroundColor"></param>
 /// <param name="aLineColor"></param>
 public TPdfCommentProperties(TPdfCommentType aCommentType, TPdfCommentIcon aIcon, float aOpacity, Color aBackgroundColor, Color aLineColor)
 {
     FCommentType     = aCommentType;
     FIcon            = aIcon;
     FOpacity         = aOpacity;
     FBackgroundColor = aBackgroundColor;
     FLineColor       = aLineColor;
 }