EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDF Signature customization

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#30211
Posted: 08/05/2014 12:32:32
by Isaac Gomez (Basic support level)
Joined: 07/21/2014
Posts: 10

Hi. I want to know if it is possible to customize the signature generated on PDF documents.

Default formation includes a section for header, Caption, Info, etc.
I need to create a signature to display elements in a different order and position.

It is possible to archieve??

Best regards.
#30212
Posted: 08/05/2014 12:52:13
by Dmytro Bogatskyy (EldoS Corp.)

Thank you for contacting us.

Yes, it is possible.
You can disable a default text (header, timestamp, signature info) in the signature widget by setting TElPDFSignatureWidgetProps.HideDefaultText property to true, and then use a TElPDFSignatureWidgetProps.CustomText property to add a custom text in a desired position, for example:
Code
Sig.WidgetProps.HideDefaultText = true;
Sig.WidgetProps.CustomText.Add("Custom text", OffsetX, OffsetY, FontSizeX, FontSizeY);
// where OffsetX and OffsetY coordinates in the custom viewport, should be from 0 to 66
// the actual coordinates will be: OffsetX = RealOffsetX * 66.0 / WidgetWidth
// if widgetHeight not equal to widgetWidth the font will be stretched
// to compensate font stretching you may set fontsizeX = fontsizeY * widgetHeight / widgetWidth

Reply

Statistics

Topic viewed 431 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!