コード例 #1
0
ファイル: Dimension.cs プロジェクト: pixelia-es/RazorPDF2
 /// <summary>
 /// Creates an instance of <code>Dimension</code> whose width 
 /// and height are the same as for the specified dimension. 
 /// </summary>
 /// <param name="d">
 /// the specified dimension for the 
 /// <code>width</code> and 
 /// <code>height</code> values.
 /// </param>
 public Dimension(Dimension d)
     : this(d.width, d.height)
 {
 }
コード例 #2
0
ファイル: Dimension.cs プロジェクト: pixelia-es/RazorPDF2
 /// <summary>
 /// Creates an instance of <code>Dimension</code> whose width
 /// and height are the same as for the specified dimension.
 /// </summary>
 /// <param name="d">
 /// the specified dimension for the
 /// <code>width</code> and
 /// <code>height</code> values.
 /// </param>
 public Dimension(Dimension d) : this(d.width, d.height)
 {
 }