refactor(BurnPdfCommandHandler): rename AddInstantJSONAnnotationToPdf to AddInstantJsonAnnotationToPdf for consistent casing
This commit is contained in:
parent
d237b4ab95
commit
e21eb2c0d6
@ -313,7 +313,10 @@ public class BurnPdfCommandHandler : IRequestHandler<BurnPdfCommand>
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Convert pixels to Inches
|
// Convert pixels to Inches
|
||||||
var oBounds = pAnnotation.Bbox.Select(ToInches).ToList();
|
var oBounds = pAnnotation.Bbox?.Select(ToInches).ToList();
|
||||||
|
|
||||||
|
if (oBounds is null || oBounds.Count < 4)
|
||||||
|
return;
|
||||||
|
|
||||||
var oX = oBounds[0];
|
var oX = oBounds[0];
|
||||||
var oY = oBounds[1];
|
var oY = oBounds[1];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user