MultilineTextDiff/VerySimpleRtfBuilder.cs
/// <summary>
/// Set alignment format for next text values.
/// </summary>
/// <param name="alignment">Alignment type.</param>
/// <param name="leftIdent">Left indent in millimeters.</param>
/// <param name="rightIdent">Right indent in millimeters.</param>
/// <returns>
/// New instance used to end formating change.
/// </returns>
/// <remarks>
/// Use the 'using' syntax or Dispose() function to encapsulate format change.
/// </remarks>
Set alignment format for next text values.
Set alignment format for next text values .
[SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification = "Public user interface")]
    public VerySimpleRtfBuilder SetAlignment(Alignment alignment, int leftIdent, int rightIdent)
    {
      StartAlignmentBlock(alignment);
      this.rtf.AppendFormat(@"\li{0}\ri{1} ", ConvertMillimeterToTwips(leftIdent), ConvertMillimeterToTwips(rightIdent));
      return (GetChild(true, null, null));
    }
[ SuppressMessage ( " " , " " , Justification = " " ) ] public VerySimpleRtfBuilder SetAlignment ( Alignment alignment , int leftIdent , int rightIdent ) { StartAlignmentBlock ( alignment ) ; this . rtf . AppendFormat ( @"\li{0}\ri{1} " , ConvertMillimeterToTwips ( leftIdent ) , ConvertMillimeterToTwips ( rightIdent ) ) ; return ( GetChild ( true , null , null ) ) ; }
Set alignment format for next text values.
Set alignment format for next text values .
New instance used to end formating change.
New instance used to end formating change .
alignment
Alignment
None
leftIdent
int
Left indent in millimeters.
Left indent in millimeters .
rightIdent
int
Right indent in millimeters.
Right indent in millimeters .
remarks
Use the 'using' syntax or Dispose() function to encapsulate format change.
Use the ' using ' syntax or Dispose () function to encapsulate format change .