سؤال

So I am trying to set background color in C++ using libHaru for my new pdf.

I am having issues setting it. Searched through documentation and either was not there or I missed it.

Anyone who knows how to set background color for pdf page?

Also any comments on libHaru? Would you recommend it etc would be awesome.

Thanks

هل كانت مفيدة؟

المحلول

There is no background color for a PDF page. If you want to make the page red, for example, you draw a rectangle that covers the page and fill it with red.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top