Click or drag to resize
SignDocSignatureParameterssetLength Method
Set a length parameter.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void setLength(
	LengthParameter name,
	LengthType type,
	double value
)

Parameters

name
Type: de.softpro.signdocsdk.Enums.ESignatureParametersLengthParameter
The name of the parameter (case-sensitive).
type
Type: de.softpro.signdocsdk.Enums.ESignatureParametersLengthType
Define how the length is specified (vt_abs, vt_field_height, or vt_field_width).
value
Type: SystemDouble
aValue The value of the parameter.
Remarks
Available length parameters are:
  • FontSize - The maximum font size. For DigSig signature fields, this parameter defines the maximum font size for the appearance stream of PDF documents. The font size will be reduced to make all text lines fit horizontally into the signature field. The default value depends on the profile passed to SignDocDocument.createSignatureParameters().
    ProfileValue
    ""#vt_field_height and 0.1
    "image"#vt_field_height and 0.1
    See also string parameter "FontName", color parameter "TextColor", and blob parameter "Template".
  • ImageMargin - The margin to add around the image. For DigSig signature fields, this parameter defines the margin to be added around the image in the appearance stream of PDF documents. This margin is added at all four edges of the image. The default value depends on the profile passed to SignDocDocument.createSignatureParameters().
    ProfileValue
    ""#vt_abs and 0.1
    "image"#vt_abs and 0.1
    See also blob parameter "Template".
  • TextHMargin - The horizontal margin for text. For DigSig signature fields, this parameter defines the horizontal margin of text in the appearance stream of PDF documents.The margin will be added on both sides of the text. The default value depends on the profile passed to SignDocDocument.createSignatureParameters().
    ProfileValue
    ""#vt_field_height and 0.1
    "image"#vt_field_height and 0.1
    See also blob parameter "Template".
See Also