GroupDocs.Signature for .NET 24.1 Release Notes
The release of GroupDocs.Signature version 24.1 adds new features.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
SIGNATURENET-4982 | ★ Feature | Added functionality to insert image signatures into the header or footer of Word processing documents. |
SIGNATURENET-4988 | ★ Feature | Added functionality to insert Barcode/QrCode signatures into the header or footer of Word processing documents. |
SIGNATURENET-4990 | ★ Feature | Added functionality to insert Stamp signatures into the header or footer of Word processing documents. |
Major Features
Added functionality to insert image signatures into the header or footer of Word processing documents.
🌐 We are thrilled to unveil an exciting enhancement— the addition of a image signature feature in the Word document headers and footers. Now, users can easily create and customize image signatures directly within the headers and footers of their Word documents.
// Sign document with Image signature.
using (Signature signature = new Signature("sample.docx"))
{
ImageSignOptions options = new ImageSignOptions("signature.jpg")
{
// set signature position
Left = 100,
Top = 100,
AllPages = true,
ShapePosition = ShapePosition.Header
};
signature.Sign("SampleSigned.docx", options);
}
Added functionality to insert Barcode/QrCode signatures into the header or footer of Word processing documents.
🌐 We are thrilled to unveil an exciting enhancement— the addition of a Barcode/QrCode signature feature in the Word document headers and footers. Now, users can easily create and customize Barcode/QrCode signatures directly within the headers and footers of their Word documents.
// Sign document with QrCode signature.
using (Signature signature = new Signature("sample.docx"))
{
// create QRCode option with predefined QRCode text
QrCodeSignOptions options = new QrCodeSignOptions("JohnSmith")
{
// setup QRCode encoding type
EncodeType = QrCodeTypes.QR,
// set signature position
Left = 100,
Top = 100,
ShapePosition = ShapePosition.Header
};
signature.Sign("SampleSigned.docx", options);
}
Added functionality to insert Stamp signatures into the header or footer of Word processing documents.
🌐 We are thrilled to unveil an exciting enhancement— the addition of a Stamp signature feature in the Word document headers and footers. Now, users can easily create and customize Stamp signatures directly within the headers and footers of their Word documents.
// Sign document with Stamp signature.
using (Signature signature = new Signature("sample.docx"))
{
StampSignOptions options = new StampSignOptions()
{
// set stamp signature position
Left = 100,
Top = 100,
ShapePosition = ShapePosition.Header
};
// setup first external line of Stamp
StampLine outerLine = new StampLine();
outerLine.Text = " * European Union * European Union * European Union *";
outerLine.Font = new SignatureFont() { Size = 12};
outerLine.Height = 22;
outerLine.TextBottomIntent = 6;
outerLine.TextColor = Color.WhiteSmoke;
outerLine.BackgroundColor = Color.DarkSlateBlue;
options.OuterLines.Add(outerLine);
//Inner square lines - horizontal lines inside the rings
StampLine innerLine = new StampLine();
innerLine.Text = "John";
innerLine.TextColor = Color.MediumVioletRed;
outerLine.Font = new SignatureFont() { Size = 20, FamilyName = "Arial" };
innerLine.Font.Bold = true;
innerLine.Height = 40;
options.InnerLines.Add(innerLine);
signature.Sign("SampleSigned.docx", options);
}