Exemple #1
0
 /// <summary>
 /// Assigns a new default paragraph style.
 /// </summary>
 /// <param name="newStyle">The paragraph style to assign.</param>
 public void SetDefaultParagraphStyle(ReadOnlyParagraphStyle newStyle)
 {
     if (newStyle == null)
     {
         throw new ArgumentNullException(nameof(newStyle));
     }
     defaultParagraphStyle.CopyFrom(newStyle);
     DefaultParagraphStyleUpdated?.Invoke(this, EventArgs.Empty);
 }