Bounds units ? (X,Y Width, Height, etc...)

Hello,

In the annotation json file parameter the X,Y, width, height variables are exprimate in what unit ? Pixel I thinks ?


"Bounds": [
{
"Location": {
"IsEmpty": false,
"X": 459.78125,
"Y": 202.09375
},
"Size": {
"IsEmpty": false,
"Width": 118.77423,
"Height": 9
},
"X": 459.78125,
"Y": 202.09375,
"Width": 118.77423,
"Height": 9,
"Left": 459.78125,
"Top": 202.09375,
"Right": 578.5555,
"Bottom": 211.09375,
"IsEmpty": false
},

Thanks,
Nicolas

1 Reply 1 reply marked as answer

VS Vasugi Sivajothi Syncfusion Team March 19, 2021 02:53 PM UTC

Hi Nicolas, 
  
Thanks for contacting Syncfusion support. 
  
Yes. In annotation Json file, width, height, X and Y are pixel unit. If you want to convert to point, we can multiply it with (96/72). 
  
  
Please let us know if you have any concerns, 
  
  
Regards, 
Vasugi 


Marked as answer
Loader.
Up arrow icon