PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Overprint option
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1455
Page 1 of 1

Author:  molson [ Thu Dec 02, 2010 1:22 pm ]
Post subject:  Overprint option

I'm developing an application that needs to create prepress ready proofs. PDFSharp is working out perfectly but a request has come to me to mark the dieline (border around the shapes) as overprint so they can toggle it off in Illustrator. I'm not an Illustrator person by any means so I'm not entirely sure what's being requested. Does this option exist in PDFSharp?

Thanks in advance,
Mike

Author:  mooflu [ Wed Dec 08, 2010 7:12 pm ]
Post subject:  Re: Overprint option

You can toggle overprint preview in Adobe Reader as well (under prefs -> Page Display).
I think you want to stroke the dieline with PdfExtGState.Keys.OP set to true.

Frank.

Author:  johan.karlsson [ Thu Dec 08, 2016 1:20 pm ]
Post subject:  Re: Overprint option

How do you set the PdfExtGState.Keys.OP to true?

Author:  pcobee [ Wed Dec 13, 2017 2:50 pm ]
Post subject:  Re: Overprint option

This is how I got overprinting to work...

Dim overPrintBlackBrush As XSolidBrush

overPrintBlackBrush = New XSolidBrush
overPrintBlackBrush.Color = XColor.FromKnownColor(XKnownColor.Black)
overPrintBlackBrush.Overprint = True
penPoint = New XPoint(36, 36)
gfx.DrawString("Overprint Black Text!", mediumRegularFont, overPrintBlackBrush, penPoint)

penPoint = New XPoint(36, 66)
gfx.DrawRectangle(overPrintBlackBrush, 10, 10, 20, 20)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/