Skip to content

Commit

Permalink
Oppgradere til PDF-box 3.0.0 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
amundsor authored Nov 27, 2023
1 parent 6f2fb4b commit 86ba0df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class WritePdfPageOptions(

data class PdfPageSpec(
val page: PDPage = PDPage(PDRectangle.A4),
val width: Float = page.cropBox.width,
val width: Float = page.mediaBox.width,
var currentXLocation: Float,
var currentYLocation: Float = page.cropBox.height
var currentYLocation: Float = page.mediaBox.height
)

object ExceptionMsg {
Expand Down

0 comments on commit 86ba0df

Please sign in to comment.