Table of Contents

Method AddSignatureField

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddSignatureField(PdfPoint, PdfSize)

Adds a new unsigned signature field control with auto-generated name to the PdfPage.

public PdfSignatureField AddSignatureField(PdfPoint position, PdfSize size)

Parameters

position PdfPoint

The position of the upper-left corner of the signature field.

size PdfSize

The size of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.

AddSignatureField(PdfRectangle)

Adds a new unsigned signature field control with auto-generated name to the PdfPage.

public PdfSignatureField AddSignatureField(PdfRectangle boundingBox)

Parameters

boundingBox PdfRectangle

The PdfRectangle structure that specifies the location and the size of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.

AddSignatureField(double, double, double, double)

Adds a new unsigned signature field control with auto-generated name to the PdfPage.

public PdfSignatureField AddSignatureField(double left, double top, double width, double height)

Parameters

left double

The x-coordinate of the upper-left corner of the signature field.

top double

The y-coordinate of the upper-left corner of the signature field.

width double

The width of the signature field.

height double

The height of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

Provide zero width and/or height to have an invisible signature field.

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.

AddSignatureField(string, PdfPoint, PdfSize)

Adds a new unsigned signature field control with specified unique name to the PdfPage.

public PdfSignatureField AddSignatureField(string name, PdfPoint position, PdfSize size)

Parameters

name string

The unique name of the signature field control.

position PdfPoint

The position of the upper-left corner of the signature field.

size PdfSize

The size of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

Provide zero width and/or height to have an invisible signature field.

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.

AddSignatureField(string?, PdfRectangle)

Adds a new unsigned signature field control with specified unique name to the PdfPage.

public PdfSignatureField AddSignatureField(string? name, PdfRectangle boundingBox)

Parameters

name string

The unique name of the signature field control.

boundingBox PdfRectangle

The PdfRectangle structure that specifies the location and the size of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

Provide zero width and/or height to have an invisible signature field.

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.

AddSignatureField(string?, double, double, double, double)

Adds a new unsigned signature field control with specified unique name to the PdfPage.

public PdfSignatureField AddSignatureField(string? name, double left, double top, double width, double height)

Parameters

name string

The unique name of the signature field control.

left double

The x-coordinate of the upper-left corner of the signature field.

top double

The y-coordinate of the upper-left corner of the signature field.

width double

The width of the signature field.

height double

The height of the signature field.

Returns

PdfSignatureField

The newly created PdfSignatureField object.

Remarks

Provide zero width and/or height to have an invisible signature field.

The Rotation of the new signature field is set to the rotation (Rotation) of the owner page.