public void CopyFrom(ReadOnlyCharacterStyle from) { if (from == null) { throw new ArgumentNullException(nameof(from)); } FontWeight = from.FontWeight; FontStyle = from.FontStyle; FontSize = from.FontSize; Color = from.Color; Language = from.Language; Script = from.Script; NativeCharStyle.FontFamilies = from.NativeCharStyle.FontFamilies; }
internal ReadOnlyParagraphStyle(INgsPFParagraphStyle nativeObject) { this.nativeObject = nativeObject; this.characterStyle = new ReadOnlyCharacterStyle(nativeObject.CharStyle); }