EldoS | Feel safer!

Software components for data protection, secure storage and transfer

signature printing, position

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#9587
Posted: 04/07/2009 06:59:39
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Hello,
please, how to influence position of signature printing ?

I have found :
TElPDFSignature. TElPDFSignatureWidgetProps and
AutoPos + OffsetX + OffsetY
but but ....
if AutoPos=true => is printing in the right corner
if AutoPos=false => is printing after the page ends and then i can influence it.
but, for example, how to print in left corner, or in the center of screen ?

thank you,
slava jansta
#9588
Posted: 04/07/2009 07:08:40
by Ken Ivanov (EldoS Corp.)

Quote
if AutoPos=false => is printing after the page ends and then i can influence it.
but, for example, how to print in left corner, or in the center of screen ?

Does changing OffsetX and OffsetY properties result in change of the location of the widget?
#9589
Posted: 04/07/2009 07:15:25
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Innokentiy Ivanov wrote:
Quote
if AutoPos=false => is printing after the page ends and then i can influence it.
but, for example, how to print in left corner, or in the center of screen ?

Does changing OffsetX and OffsetY properties result in change of the location of the widget?


yes, it changes location od the widget,
but 0,0 is bellow the page. Bellow and then more bellow :(
#9590
Posted: 04/07/2009 07:34:07
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

oo,... I see in the documentation :

"ElPDFSignatureWidgetProps.OffsetY
Specifies signature widget offset from the bottom page border. "

so really it is from the bottom page border !
seems it is not possible to influence it exactly as I want :/
#9591
Posted: 04/07/2009 07:52:13
by Dmytro Bogatskyy (EldoS Corp.)

Quote
so really it is from the bottom page border

Yes, (0, 0) is a bottom-left corner.
You can retrieve height and width of the page using PageInfos property.
http://www.eldos.com/documentation/sb...infos.html
#9593
Posted: 04/07/2009 07:57:55
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Bogatskyy wrote:
Quote
so really it is from the bottom page border

Yes, (0, 0) is a bottom-left corner.


so, it is not possible to print it in the LEFT TOP corner of page ?
#9594
Posted: 04/07/2009 08:10:13
by Dmytro Bogatskyy (EldoS Corp.)

Quote
so, it is not possible to print it in the LEFT TOP corner of page ?

The x-axis extends to the right from the page origin, and the y-axis extends upward from the page origin.
For example, to place signature in left top corner on the first page, you need:
Code
Sig.WidgetProps.AutoPos := False;
Sig.WidgetProps.OffsetX := 0;
Sig.WidgetProps.OffsetY := Document.PageInfos[0].Height - Sig.WidgetProps.Height;
#9595
Posted: 04/07/2009 08:33:43
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Bogatskyy wrote:
The x-axis extends to the right from the page origin, and the y-axis extends upward from the page origin.


ouuu,... y-axis extends upward. aaa,... ok, seems to be clear now :)

thank you
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

Topic viewed 1990 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!