Rotativa icon indicating copy to clipboard operation
Rotativa copied to clipboard

Is there a way to combine multiple views into a single pdf?

Open Spencerooni opened this issue 8 years ago • 2 comments

As per title, is there a way to combine multiple views into a single pdf? Thanks in advance.

Spencerooni avatar Apr 08 '16 12:04 Spencerooni

I do this using partial views. Just create a new view as your root view and then use the other views as partials and import them into the root. I don't think you can use multiple in the ViewAsPdf method.

bryanllewis avatar Oct 23 '17 18:10 bryanllewis

Thanks @bryanllewis that’s exactly what I ended up doing.

Spencerooni avatar Oct 23 '17 22:10 Spencerooni