Are you interested in incorporating stamp signatures into DOCX files within your .NET applications? With the capabilities of the GroupDocs.Signature Cloud .NET SDK, you can easily e-sign DOCX documents programmatically, without complicated setups or bulky libraries. This .NET REST API aids in automating document signing while ensuring authenticity, a professional look, and quicker approval processes.
By using just a handful of API requests, developers can add stamp signatures to DOCX files directly from their C# applications or cloud-based platforms. For your document management systems, HR onboarding tools, and legal applications, integrating cloud-based DOCX e-signing becomes simpler. Additionally, you maintain full control over the stamp’s design, placement, and associated metadata.
Avoid allowing manual signatures to impede your document workflows, and begin improving your C#, ASP.NET, and VB.NET applications today with the Cloud SDK for .NET — your ideal solution for efficient, secure, and scalable DOCX document signing in the cloud. Explore the comprehensive guide now and enhance your .NET applications, making them quicker and ready for the digital landscape in no time.
Here is a C# code example to help you swiftly incorporate this feature into your .NET applications:
using GroupDocs.Signature.Cloud.Sdk.Api;
using GroupDocs.Signature.Cloud.Sdk.Client;
using GroupDocs.Signature.Cloud.Sdk.Model.Requests;
using GroupDocs.Signature.Cloud.Sdk.Model;
class SignDOCXwithStamp
{
static void Main(string[] args)
{
// Configure API credentials
string MyClientId = "your-client-id";
string MyClientSecret = "your-client-secret";
var config = new Configuration(MyClientId, MyClientSecret);
// Initialize the SignApi class for adding e-signatures
var signApi = new SignApi(config);
// Set up round-style stamp signature
var stampOptions = new SignStampOptions
{
SignatureType = SignStampOptions.SignatureTypeEnum.Stamp,
Left = 100,
Top = 100,
Width = 200,
Height = 200,
RotationAngle = 0,
BackgroundColor = new Color { Web = "White" },
LocationMeasureType = SignStampOptions.LocationMeasureTypeEnum.Pixels,
SizeMeasureType = SignStampOptions.SizeMeasureTypeEnum.Pixels,
Margin = new Padding { All = 5 },
AllPages = true,
OuterLines = new List
{
new StampLine
{
Text = "GroupDocs Cloud eSign API",
TextRepeatType = StampLine.TextRepeatTypeEnum.FullTextRepeat,
Font = new SignatureFont
{
FontFamily = "Arial",
FontSize = 12,
Bold = true
},
TextColor = new Color { Web = "DarkRed" },
BackgroundColor = new Color {Web = "Transparent"},
Height = 20,
InnerBorder = new BorderLine
{
Color = new Color { Web = "DarkRed" },
Style = BorderLine.StyleEnum.Solid,
Transparency = 0.0,
Weight = 2.0
},
OuterBorder = new BorderLine
{
Color = new Color { Web = "DarkRed" },
Style = BorderLine.StyleEnum.Solid,
Transparency = 0.0,
Weight = 2.0
},
Visible = true,
TextBottomIntent = 2,
}
},
InnerLines = new List
{
new StampLine
{
Text = "Certified",
TextColor = new Color { Web = "DarkRed" },
Font = new SignatureFont
{
FontFamily = "Arial",
FontSize = 16,
Bold = true
},
Height = 40,
BackgroundColor = new Color {Web = "Transparent"},
TextBottomIntent = 2,
Visible = true
}
}
};
// Create stamp signature settings
var settings = new SignSettings
{
FileInfo = new GroupDocs.Signature.Cloud.Sdk.Model.FileInfo
{
FilePath = "SampleFiles/source.docx"
},
SaveOptions = new SaveOptions
{
OutputFilePath = "signature/source-signed.docx"
},
Options = new List { stampOptions }
};
// Execute the DOCX stamp e-signing request
var request = new CreateSignaturesRequest(settings);
var response = signApi.CreateSignatures(request);
}
}