GetSigFields

Declaration

Delphi

function GetSigFields: Widestring;

ActiveX

HRESULT _stdcall GetSigFields([out, retval] BSTR* FieldsXml);

 

Description

This function returns details about all the signature fields, which where found inside the loaded PDF. This includes signed as well as unsigned fields.


Return value

This information is returned as XML.

Sample output of GetSigFields
<?xml version="1.0" encoding="UTF-8"?>
<SignatureFields>   
	<Field>     
		<Title>Unterschrift1</Title>     
		<Visible/>     
		<Page>1</Page>     
		<Left>89,7857</Left>     
		<Top>247,405</Top>     
		<Width>150,0003</Width>     
		<Height>69,672</Height>   
	</Field>   
	<Field>     
		<Title>Unterschrift2</Title>     
		<Visible/>     
		<Page>1</Page>     
		<Left>269,357</Left>     
		<Top>246,15</Top>     
		<Width>150</Width>     
		<Height>69,045</Height>   
	</Field>
</SignatureFields>


Sample 

C#
// save signature field infos 

string info = SignAPIv4.GetSigFields();