Skip to main content
All docs
V26.1
  • Page.AddImageFragment(DXImage, Single, Single) Method

    Adds an image fragment to the page.

    Namespace: DevExpress.Docs.Pdf

    Assembly: DevExpress.Docs.Pdf.v26.1.dll

    Declaration

    public ImageFragment AddImageFragment(
        DXImage image,
        float x,
        float y
    )

    Parameters

    Name Type Description
    image DXImage

    The image to add.

    x Single

    The X-coordinate of the image fragment.

    y Single

    The Y-coordinate of the image fragment.

    Returns

    Type Description
    ImageFragment

    The added image fragment.

    Remarks

    Use the Page.AddFragment(PageFragment) method and the ImageFragment class to specify more image fragment properties, such as the image’s width and height, rotation angle, and so on.

    See Also