Skip to content
Advertisement

Tag: scale

How to scale a PDAnnotation?

I have a pdf that has been passed to me with a signature (annotation) and I have to scale the pdf, but when I scale the pdf the annotation does not scale, and it comes out out out of shape. Any suggestions? I’ll show you the code of the method and the pdf before and after PDF BEFORE PDF AFTER

BigDecimal, precision and scale

I’m using BigDecimal for my numbers in my application, for example, with JPA. I did a bit of researching about the terms ‘precision’ and ‘scale’ but I don’t understand what are they exactly. Can anyone explain me the meaning of ‘precision’ and ‘scale’ for a BigDecimal value? Thanks! Answer A BigDecimal is defined by two values: an arbitrary precision integer

Advertisement