Skip to content

Conversation

YathavakrishnanMohan
Copy link
Collaborator

Added sample for E signing in PDF document using WPF PDFViewer

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this file ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need this file ? Can you remove it

}

}
private void ResizeImage(string inputPath, string outputPath, int width, int height)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this method

}
}
string inputPath = "../../../Data/John.png"; // Replace with your image path
string outputPath1 = "../../../Data/Out.png"; // Desired output path
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide proper name for the image

int pageIndex = PDFViewer.CurrentPageIndex - 1;
if (addSignature && pageIndex >= 0)
{
int width = 200;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the code for creating images to separate folder.


private void CreateSignatureImage()
{
int pageIndex = PDFViewer.CurrentPageIndex - 1;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even split "CreateSignatureImage" method , as text image creation as one and combining two images as another.

@Vikassekar Vikassekar merged commit 800a459 into master Sep 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants