@@ -1627,6 +1627,11 @@ public virtual iText.Kernel.Pdf.Canvas.PdfCanvas EndLayer() {
1627
1627
}
1628
1628
1629
1629
/// <summary>Creates Image XObject from image and adds it to canvas (as Image XObject).</summary>
1630
+ /// <remarks>
1631
+ /// Creates Image XObject from image and adds it to canvas (as Image XObject).
1632
+ /// <para />
1633
+ /// The float arguments will be used in concatenating the transformation matrix as operands.
1634
+ /// </remarks>
1630
1635
/// <param name="image">
1631
1636
/// the
1632
1637
/// <c>PdfImageXObject</c>
@@ -1639,11 +1644,17 @@ public virtual iText.Kernel.Pdf.Canvas.PdfCanvas EndLayer() {
1639
1644
/// <param name="e">an element of the transformation matrix</param>
1640
1645
/// <param name="f">an element of the transformation matrix</param>
1641
1646
/// <returns>created Image XObject.</returns>
1647
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1642
1648
public virtual PdfXObject AddImage ( ImageData image , float a , float b , float c , float d , float e , float f ) {
1643
1649
return AddImage ( image , a , b , c , d , e , f , false ) ;
1644
1650
}
1645
1651
1646
1652
/// <summary>Creates Image XObject from image and adds it to canvas.</summary>
1653
+ /// <remarks>
1654
+ /// Creates Image XObject from image and adds it to canvas.
1655
+ /// <para />
1656
+ /// The float arguments will be used in concatenating the transformation matrix as operands.
1657
+ /// </remarks>
1647
1658
/// <param name="image">
1648
1659
/// the
1649
1660
/// <c>PdfImageXObject</c>
@@ -1657,6 +1668,7 @@ public virtual PdfXObject AddImage(ImageData image, float a, float b, float c, f
1657
1668
/// <param name="f">an element of the transformation matrix</param>
1658
1669
/// <param name="asInline">true if to add image as in-line.</param>
1659
1670
/// <returns>created Image XObject or null in case of in-line image (asInline = true).</returns>
1671
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1660
1672
public virtual PdfXObject AddImage ( ImageData image , float a , float b , float c , float d , float e , float f ,
1661
1673
bool asInline ) {
1662
1674
if ( image . GetOriginalType ( ) == ImageType . WMF ) {
@@ -1682,11 +1694,15 @@ public virtual PdfXObject AddImage(ImageData image, float a, float b, float c, f
1682
1694
/// <remarks>
1683
1695
/// Creates Image XObject from image and adds it to canvas.
1684
1696
/// The created image will be fit inside on the specified rectangle without preserving aspect ratio.
1697
+ /// <para />
1698
+ /// The x, y, width and height parameters of the rectangle will be used in concatenating
1699
+ /// the transformation matrix as operands.
1685
1700
/// </remarks>
1686
1701
/// <param name="image">image from which Image XObject will be created</param>
1687
1702
/// <param name="rect">rectangle in which the created image will be fit</param>
1688
1703
/// <param name="asInline">true if to add image as in-line.</param>
1689
1704
/// <returns>created XObject or null in case of in-line image (asInline = true).</returns>
1705
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1690
1706
public virtual PdfXObject AddImage ( ImageData image , iText . Kernel . Geom . Rectangle rect , bool asInline ) {
1691
1707
return AddImage ( image , rect . GetWidth ( ) , 0 , 0 , rect . GetHeight ( ) , rect . GetX ( ) , rect . GetY ( ) , asInline ) ;
1692
1708
}
@@ -1719,12 +1735,18 @@ public virtual PdfXObject AddImage(ImageData image, float x, float y, bool asInl
1719
1735
1720
1736
/// <summary>Creates Image XObject from image and adds it to the specified position with specified width preserving aspect ratio.
1721
1737
/// </summary>
1738
+ /// <remarks>
1739
+ /// Creates Image XObject from image and adds it to the specified position with specified width preserving aspect ratio.
1740
+ /// <para />
1741
+ /// The float arguments will be used in concatenating the transformation matrix as operand.
1742
+ /// </remarks>
1722
1743
/// <param name="image">image from which Image XObject will be created</param>
1723
1744
/// <param name="x">horizontal offset of the created image position</param>
1724
1745
/// <param name="y">vertical offset of the created image position</param>
1725
1746
/// <param name="width">width of the created image on the basis of which the image height will be calculated</param>
1726
1747
/// <param name="asInline">true if to add image as in-line.</param>
1727
1748
/// <returns>created XObject or null in case of in-line image (asInline = true).</returns>
1749
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1728
1750
public virtual PdfXObject AddImage ( ImageData image , float x , float y , float width , bool asInline ) {
1729
1751
if ( image . GetOriginalType ( ) == ImageType . WMF ) {
1730
1752
WmfImageHelper wmf = new WmfImageHelper ( image ) ;
@@ -1748,6 +1770,11 @@ public virtual PdfXObject AddImage(ImageData image, float x, float y, float widt
1748
1770
1749
1771
/// <summary>Creates Image XObject from image and adds it to the specified position with specified width preserving aspect ratio.
1750
1772
/// </summary>
1773
+ /// <remarks>
1774
+ /// Creates Image XObject from image and adds it to the specified position with specified width preserving aspect ratio.
1775
+ /// <para />
1776
+ /// The float arguments will be used in concatenating the transformation matrix as operand.
1777
+ /// </remarks>
1751
1778
/// <param name="image">image from which Image XObject will be created</param>
1752
1779
/// <param name="x">horizontal offset of the created image position</param>
1753
1780
/// <param name="y">vertical offset of the created image position</param>
@@ -1758,6 +1785,7 @@ public virtual PdfXObject AddImage(ImageData image, float x, float y, float widt
1758
1785
/// <see cref="AddImage(iText.IO.Image.ImageData, float, float, float, bool)"/>.
1759
1786
/// </param>
1760
1787
/// <returns>created XObject or null in case of in-line image (asInline = true).</returns>
1788
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"></seealso>
1761
1789
public virtual PdfXObject AddImage ( ImageData image , float x , float y , float height , bool asInline , bool dummy
1762
1790
) {
1763
1791
return AddImage ( image , height / image . GetHeight ( ) * image . GetWidth ( ) , 0 , 0 , height , x , y , asInline ) ;
@@ -1768,6 +1796,13 @@ public virtual PdfXObject AddImage(ImageData image, float x, float y, float heig
1768
1796
/// <c>PdfXObject</c>
1769
1797
/// to canvas.
1770
1798
/// </summary>
1799
+ /// <remarks>
1800
+ /// Adds
1801
+ /// <c>PdfXObject</c>
1802
+ /// to canvas.
1803
+ /// <para />
1804
+ /// The float arguments will be used in concatenating the transformation matrix as operands.
1805
+ /// </remarks>
1771
1806
/// <param name="xObject">
1772
1807
/// the
1773
1808
/// <c>PdfImageXObject</c>
@@ -1780,6 +1815,7 @@ public virtual PdfXObject AddImage(ImageData image, float x, float y, float heig
1780
1815
/// <param name="e">an element of the transformation matrix</param>
1781
1816
/// <param name="f">an element of the transformation matrix</param>
1782
1817
/// <returns>current canvas.</returns>
1818
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"></seealso>
1783
1819
public virtual iText . Kernel . Pdf . Canvas . PdfCanvas AddXObject ( PdfXObject xObject , float a , float b , float c ,
1784
1820
float d , float e , float f ) {
1785
1821
if ( xObject is PdfFormXObject ) {
@@ -1861,11 +1897,19 @@ public virtual iText.Kernel.Pdf.Canvas.PdfCanvas AddXObject(PdfXObject xObject,
1861
1897
/// <c>PdfXObject</c>
1862
1898
/// to the specified position with specified width preserving aspect ratio.
1863
1899
/// </summary>
1900
+ /// <remarks>
1901
+ /// Adds
1902
+ /// <c>PdfXObject</c>
1903
+ /// to the specified position with specified width preserving aspect ratio.
1904
+ /// <para />
1905
+ /// The float arguments will be used in concatenating the transformation matrix as operand.
1906
+ /// </remarks>
1864
1907
/// <param name="xObject">Image XObject to be added</param>
1865
1908
/// <param name="x">horizontal offset of the image position</param>
1866
1909
/// <param name="y">vertical offset of the image position</param>
1867
1910
/// <param name="width">width of the image on the basis of which the height will be calculated</param>
1868
1911
/// <returns>current canvas.</returns>
1912
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1869
1913
public virtual iText . Kernel . Pdf . Canvas . PdfCanvas AddXObject ( PdfXObject xObject , float x , float y , float width
1870
1914
) {
1871
1915
if ( xObject is PdfFormXObject ) {
@@ -1886,6 +1930,13 @@ public virtual iText.Kernel.Pdf.Canvas.PdfCanvas AddXObject(PdfXObject xObject,
1886
1930
/// <c>PdfXObject</c>
1887
1931
/// to the specified position with specified height preserving aspect ratio.
1888
1932
/// </summary>
1933
+ /// <remarks>
1934
+ /// Adds
1935
+ /// <c>PdfXObject</c>
1936
+ /// to the specified position with specified height preserving aspect ratio.
1937
+ /// <para />
1938
+ /// The float arguments will be used in concatenating the transformation matrix as operand.
1939
+ /// </remarks>
1889
1940
/// <param name="xObject">Image XObject to be added</param>
1890
1941
/// <param name="x">horizontal offset of the image position</param>
1891
1942
/// <param name="y">vertical offset of the image position</param>
@@ -1895,6 +1946,7 @@ public virtual iText.Kernel.Pdf.Canvas.PdfCanvas AddXObject(PdfXObject xObject,
1895
1946
/// <see cref="AddXObject(iText.Kernel.Pdf.Xobject.PdfXObject, float, float, float)"/>
1896
1947
/// </param>
1897
1948
/// <returns>current canvas.</returns>
1949
+ /// <seealso cref="ConcatMatrix(double, double, double, double, double, double)"/>
1898
1950
public virtual iText . Kernel . Pdf . Canvas . PdfCanvas AddXObject ( PdfXObject xObject , float x , float y , float height
1899
1951
, bool dummy ) {
1900
1952
if ( xObject is PdfFormXObject ) {
0 commit comments