SetJustifyMode (int Mode)

 

Function:             Sets justify mode.

 

Arguments:         Integer:

 

                               Mode            Justify mode defined as follows:

 

                                                     0               Normal, no justification.

                                                     1               Justify and zoom signature (upper-left corner).

                                                     2               Justify and zoom signature (upper-right corner).

                                                     3               Justify and zoom signature (lower-right corner).

                                                     4               Justify and zoom signature (lower-left corner).

                                                     5               Justify and zoom signature (center of control).

                                                     Add 16    Justify based on median value of signature data.

                                                     Add 32    Justify based on mean value of signature data.

                                                     Add 48    Justify based on mode value of signature data.

                                                                      (These modes can recreate a synthetic baseline.

                                                                       To auto justify the median value of the signature

                                                                       data to the center of the OCX box, you would set

                                                                       justify mode to 16 + 5 = 21.)

                                                     6              Justify upper left scale.

                                                     7              Justify upper left scale.

                                                     8              Justify upper left scale.

                                                     9              Justify upper left scale.

                                                     10            Scale without justify of signature.

 

Return Value:     Void.

 

Remarks:             When using justify mode 1-5 and add modes, a border area around the

                                signature limits can be set in logical tablet coordinates using the

                                JustifyX and JustifyY values. In modes 6-9, JustifyX = width of the control

                                in inches x 1000. If JustifyX = 0 when used with modes 6-10 and

                                Acrobat, automatic 1:1 scaling will be set for the transfer of the signature

                                into Acrobat.

 

 

 

 

 

 

 

 

 

_____________________________________________________________________

  Copyright 1995 - 2005, Topaz Systems, Inc. All Rights Reserved, Patent Pending

     Topaz Systems, Inc., 650 Cochran Street, Unit 6, Simi Valley, CA, USA, 93065

              Phone: 805 520-8282  Fax: 805 520-0867  www.topazsystems.com