Skip to main content

ApiSignatureForm

Class representing a document picture form.

ApiSignatureForm is a subclass of ApiFormBase.

Properties​

NameTypeDescription
ValuestringReturns or sets the current image of the signature form as a base64 encoded string.

Methods​

The following table lists the available methods.

MethodReturnsDescription
ClearbooleanClears the current form.
CopyApiForm | null | undefinedCopies the current form (copies with the shape if it exists).
DeletebooleanRemoves a form and its content.
GetBackgroundColorApiColor | null | undefinedReturns the background color of the current form.
GetBorderColorApiColor | null | undefinedReturns the border color of the current form.
GetClassType"signatureForm"Returns a type of the ApiSignatureForm class.
GetFormKeystringReturns the current form key.
GetFormTypeFormTypeReturns a type of the current form.
GetImageBase64ImgReturns an image in the base64 format from the current signature form.
GetInternalIdstringReturns an internal id of the current form.
GetLockbooleanReturns the lock state of the current form.
GetParentParagraphLikeContainer | null | undefinedReturns the parent element (a paragraph or an inline content control) that directly contains the current form.
GetPlaceholderTextstringReturns the placeholder text from the current form.
GetPosInParentNumberReturns the position (index) of the current form within its parent element.
GetRolestringReturns the role of the current form.
GetTagstringReturns the tag attribute for the current form.
GetTextstringReturns the text from the current form.
GetTextPrApiTextPrReturns the text properties from the current form.
GetTipTextstringReturns the tip text of the current form.
GetValuestringReturns the current image of the signature form as a base64 encoded string.
GetWrapperShapeApiShape | null | undefinedReturns a shape in which the form is placed to control the position and size of the fixed size form frame.
IsFilledbooleanChecks if the current form is filled.
IsFixedbooleanChecks if the current form is fixed size.
IsRequiredbooleanChecks if the current form is required.
MoveCursorOutsidebooleanPlaces a cursor before/after the current form.
SetBackgroundColorbooleanSets the background color to the current form.
SetBorderColorbooleanSets the border color to the current form.
SetFormKeybooleanSets a key to the current form.
SetImagebooleanSets an image to the current picture form.
SetLockbooleanSets the lock state of the current form.
SetPlaceholderTextbooleanSets the placeholder text to the current form.
SetRequiredbooleanSpecifies if the current form should be required.
SetRolebooleanSets the role to the current form.
SetTagbooleanSets the tag attribute to the current form.
SetTextPrbooleanSets the text properties to the current form.
SetTipTextbooleanSets the tip text to the current form.
SetValuebooleanSets an image to the signature form.
ToFixedbooleanConverts the current form to a fixed size form.
ToInlinebooleanConverts the current form to an inline form.