Aspose::Cells::Drawing::ShapeCollection::AddSignatureLine method

ShapeCollection::AddSignatureLine method

Adds a Signature Line to the worksheet.

Aspose::Cells::Drawing::Picture Aspose::Cells::Drawing::ShapeCollection::AddSignatureLine(int32_t upperLeftRow, int32_t upperLeftColumn, const SignatureLine &signatureLine)
ParameterTypeDescription
upperLeftRowint32_tUpper left row index.
upperLeftColumnint32_tUpper left column index.
signatureLineconst SignatureLine&Represents a signature line object.

ReturnValue

Examples

SignatureLine wSignatureLine;
wSignatureLine.SetAllowComments(true);
wSignatureLine.SetEmail(u"example@example.com");
wSignatureLine.SetInstructions(u"Sign to confirm the excel content.");
wSignatureLine.SetIsLine(true);
wSignatureLine.SetShowSignedDate(true);
wSignatureLine.SetSigner(u"User");
wSignatureLine.SetTitle(u"tester");
//wSignatureLine.SignatureLineType = SignatureType.Stamp;
Picture signatureLine1 = shapes.AddSignatureLine(0, 0, wSignatureLine);

See Also