Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public ParagraphBuilder(ParagraphStyle style, FontCollection font_collection)
 {
     this.font_collection_ = font_collection;
     SetParagraphStyle(style);
 }