DocumentBuilderInsertSignatureLine Method (SignatureLineOptions, RelativeHorizontalPosition, Double, RelativeVerticalPosition, Double, WrapType)
Inserts a signature line at the specified position.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.12
Syntax
public Shape InsertSignatureLine(
	SignatureLineOptions signatureLineOptions,
	RelativeHorizontalPosition horzPos,
	double left,
	RelativeVerticalPosition vertPos,
	double top,
	WrapType wrapType
)

Parameters

signatureLineOptions
Type: Aspose.WordsSignatureLineOptions
The object that stores parameters of creating signature line.
horzPos
Type: Aspose.Words.DrawingRelativeHorizontalPosition
Specifies where the distance to the signature line is measured from.
left
Type: SystemDouble
Distance in points from the origin to the left side of the signature line.
vertPos
Type: Aspose.Words.DrawingRelativeVerticalPosition
Specifies where the distance to the signature line measured from.
top
Type: SystemDouble
Distance in points from the origin to the top side of the signature line.
wrapType
Type: Aspose.Words.DrawingWrapType
Specifies how to wrap text around the signature line.

Return Value

Type: Shape
The signature line node that was just inserted.
Remarks

You can change the image size, location, positioning method and other settings using the Shape object returned by this method.

Examples
Shows how to insert signature line at the specified position.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

SignatureLineOptions options = new SignatureLineOptions
{
    Signer = "John Doe",
    SignerTitle = "Manager",
    Email = "johndoe@aspose.com",
    ShowDate = true,
    DefaultInstructions = false,
    Instructions = "You need more info about signature line",
    AllowComments = true
};

builder.InsertSignatureLine(options, RelativeHorizontalPosition.RightMargin, 2.0,
    RelativeVerticalPosition.Page, 3.0, WrapType.Inline);
See Also