Skip to content

Commit

Permalink
Merge pull request #74 from SyncfusionExamples/886861
Browse files Browse the repository at this point in the history
886861: Updated the digital signature github samples.
  • Loading branch information
chinnumuniyappan authored Jun 10, 2024
2 parents 9e7ea05 + b7bfcc6 commit 2a0b72a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(signatureImage, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(signatureImage, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(signatureImage, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(signatureImage, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(signatureImage, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(signatureImage, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(signatureImage, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(signatureImage, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(image, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(image, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
signature.Reason = "I am author of this document.";

//Draws the signature image.
graphics.DrawImage(image, 0, 0);
signature.Appearance.Normal.Graphics.DrawImage(image, 0, 0);

//Create file stream.
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Output.pdf"), FileMode.Create, FileAccess.ReadWrite))
Expand Down

0 comments on commit 2a0b72a

Please sign in to comment.