Beispiel #1
0
 /// <summary>
 /// Creates a new instance based on another instance
 /// </summary>
 /// <param name="ao">Instance to copy</param>
 public AlignmentOptions(IAlignmentOptions ao)
 {
     horizontal  = ao.Horizontal;
     vertical    = ao.Vertical;
     Indent      = ao.Indent;
     Rotate      = ao.Rotate;
     WrapText    = ao.WrapText;
     ShrinkToFit = ao.ShrinkToFit;
 }
Beispiel #2
0
 public AlignmentOptions(IAlignmentOptions ialignmentOptions_0)
 {
     this.horizontalAlignment_0 = ialignmentOptions_0.Horizontal;
     this.verticalAlignment_0   = ialignmentOptions_0.Vertical;
     this.Indent      = ialignmentOptions_0.Indent;
     this.Rotate      = ialignmentOptions_0.Rotate;
     this.WrapText    = ialignmentOptions_0.WrapText;
     this.ShrinkToFit = ialignmentOptions_0.ShrinkToFit;
 }
Beispiel #3
0
		/// <summary>
		/// Creates a new instance based on another instance
		/// </summary>
		/// <param name="ao">Instance to copy</param>
		public AlignmentOptions(IAlignmentOptions ao)
		{
			horizontal = ao.Horizontal;
			vertical = ao.Vertical;

			Indent = ao.Indent;
			Rotate = ao.Rotate;

			WrapText = ao.WrapText;
			ShrinkToFit = ao.ShrinkToFit;
		}