[Sv] - Point coordinate question?

Hi,
From this:
can you tell me: where are the coordinates of this point(New PointF(-150, 450)) from? I don't know the position of O (Oxygen) on the drawing)
Thanks !

4 Replies 1 reply marked as answer

AP Anand Panchamoorthi Syncfusion Team June 8, 2020 05:42 PM UTC

Hi GridLock, 

We can specify the position (X and Y) of the image where we want to start the image using that drawimage method. Please refer the below links for more information, 

Please let us know if you need any further assistance on this. 

Regards, 
Anand P 



TG The GridLock June 8, 2020 07:01 PM UTC

Hi Anand,
I want to know where the O-point




AP Anand Panchamoorthi Syncfusion Team June 9, 2020 05:22 AM UTC

Hi GridLock,  
 
While drawing images, texts, or other graphic elements, the “top-left” position is the origin of a PDF document. (X, Y) specified in the DrawImage method used to locate the start point of the image from the PDF’s origin (top left).   
 
Please find the below table for more details about to set (X, Y) and (Width and height) values of PDF image drawing.  
DrawImage(ImageData, PointF)  
PointF – (X, Y)  
 
X and Y specify the start point of the image in PDF graphics distanced from the PDF’s origin respectively  
DrawImage(ImageData, RectangleF)  
RectangleF – (X, Y, Width, Height)  
 
X and Y specify the start point of the image in PDF graphics distanced from the PDF’s origin respectively  
 
Width is used to specify the Image’s width distanced from X point and Height is used to specify the Image’s height distanced from Y point.  
 
  
 
Please find the below image for more details,  
   
  
Please let us know if you need any further assistance. 
  
With Regards, 
Anand P 


Marked as answer

TG The GridLock June 9, 2020 07:12 PM UTC

Hi Anand,
Thanks for the explanation, I got it!

Loader.
Up arrow icon