EnableCompression Thread Safe

Discussions about PDF management.
Post Reply
jarredwitt
Posts: 1
Joined: Fri Aug 14, 2015 5:29 pm

EnableCompression Thread Safe

Post by jarredwitt » Fri Aug 14, 2015 5:31 pm

Is the GDPicturePDF.EnableCompression method thread safe? We use the TPL extensively in our application and could be saving PDF's on many different threads. If it's not thread safe is there a better method to use?

Thanks

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: EnableCompression Thread Safe

Post by Loïc » Sun Aug 16, 2015 1:43 pm

Hi,

Yes it is as long you access one GdPicturePDF object from an unique thread.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests