Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, October 17, 2005 11:04:51 AM(UTC)
jason.perkins

Groups: Registered
Posts: 1


Hi,

Could anyone please provide an example snippet of opening a pdf with changes to the CodecsPDFLoadOptions. Basically, I want to open the PDF at 300 dpi instead of the default, 72.

Thanks,

Jason

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, October 19, 2005 3:15:25 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Try the following snippet:

Dim Codec As New Leadtools.Codecs.RasterCodecs
Codec.Options.Pdf.Load.XResolution = 300
Codec.Options.Pdf.Load.YResolution = 300
RasterImageViewer1.Image = Codec.Load("d:\file.pdf", 0, Leadtools.Codecs.CodecsLoadByteOrder.Bgr, 1, -1)

Bashar Abdulqaiyume
LEAD Technologies, Inc.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.055 seconds.