Class ImageStamper
This allows the user to edit an existing PDF by adding an image.
A subclass of Stamper. Defines an Image PDF Stamper. Can be applied with: ApplyStamp(Stamper)To see usage and an example of ImageStamper, visit: https://ironpdf.com/tutorials/csharp-edit-pdf-complete-tutorial/#stamp-an-image-onto-a-pdf
Inherited Members
Namespace: IronPdf.Editing
Assembly: IronPdf.dll
Syntax
public class ImageStamper : Stamper
Constructors
ImageStamper(Bitmap)
Initializes a new instance of the ImageStamper class.
Declaration
public ImageStamper(Bitmap bitmap)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bitmap | The uri of the image to be stamped by this stamper |
ImageStamper(String)
Initializes a new instance of the ImageStamper class.
Declaration
public ImageStamper(string imagePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | imagePath | The path of the image to be stamped by this stamper |
ImageStamper(Uri)
Initializes a new instance of the ImageStamper class.
Declaration
public ImageStamper(Uri imageUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | imageUri | The uri of the image to be stamped by this stamper |
Properties
ImageUri
The path of the image to be stamped by this stamper
Declaration
public Uri ImageUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |