It's the offset relative to the text baseline. Positive raises the image and
negative lowers it. The dimension are points (1/72 inch).

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Graham Leggett [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, May 29, 2003 14:58
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Adding Image to a Chunk, what do the
> offsets refer to?
> 
> Hi all,
> 
> According to the constructor for Chunk, when you add an Image you need 
> to specify an x and y offset. It is not explained anywhere however what 
> these offsets should be set to, or what these offsets are relative to.
> 
> The examples contain scattered references to offsets like (0, -5) but 
> nowhere is the significance of the numbers or their sign explained.
> 
> Anyone know?
> 
> Regards,
> Graham
> -- 
> -----------------------------------------
> [EMAIL PROTECTED]             "There's a moon
>                                       over Bourbon Street
>                                               tonight..."
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to