Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Generate PDF Certificate
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Generate PDF Certificate
#54691
Re:Generate PDF Certificate 9 Years, 6 Months ago Karma: 760
For example you can use an image as a background for <DIV> element and place variables in this <DIV> element.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#54692
Re:Generate PDF Certificate 9 Years, 6 Months ago Karma: 0
Yes but how you will place variables in specific place in to the picture? For example the name is on top and the date is on the bottom of the photo. Can i use something like this:

/*$pdf->Ln(10);

$pdf->SetLeftMargin(52);

$pdf->SetFontSize(32);

$pdf->SetTextColor(0,0,0);

$pdf->Ln(75);
The administrator has disabled public write access.
 
#54693
Re:Generate PDF Certificate 9 Years, 6 Months ago Karma: 760
PDF document is created based on a text template. A text template contains HTML code and it is possible to use CSS properties so you can use "position: relative" or "position: absolute" CSS properties to set a position for a HTML element or use a HTML table.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#54694
Re:Generate PDF Certificate 9 Years, 6 Months ago Karma: 0
So it need to be like link like this

<area shape="rect" coords="551,1667,1993,1864" href="{$QuizName}

or something else?
The administrator has disabled public write access.
 
#54695
Re:Generate PDF Certificate 9 Years, 6 Months ago Karma: 760
No, a HTML code will look like:

Code:


<div style="width:500px;height:450px;position:relative;background:url(..link_to_background_image...) no-repeat;>
  <div style="position:absolute;top:50px;left:20px;">{$QuizName}</div>
</div>



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12