public void SetParagraphStyle(ParagraphStyle style) { //C++ TO C# CONVERTER TODO TASK: The following line was determined to be a copy assignment (rather than a reference assignment) - this should be verified and a 'CopyFrom' method should be created: //ORIGINAL LINE: paragraph_style_ = style; paragraph_style_.CopyFrom(style); //C++ TO C# CONVERTER TODO TASK: The following line was determined to be a copy assignment (rather than a reference assignment) - this should be verified and a 'CopyFrom' method should be created: //ORIGINAL LINE: paragraph_style_index_ = runs_.AddStyle(style.GetTextStyle()); paragraph_style_index_.CopyFrom(runs_.AddStyle(style.GetTextStyle())); runs_.StartRun(paragraph_style_index_, text_.Count); }
public ParagraphBuilder(ParagraphStyle style, FontCollection font_collection) { this.font_collection_ = font_collection; SetParagraphStyle(style); }