Loading...

Image over gdpicture

Support for GdPicture XMP Annotations Plugin.

Image over gdpicture

Postby rpicilli » Sun Jan 01, 2012 5:32 pm

Dears,

Supose that I have a document loaded into a gdviwer (PDF or TIFF). How can I add a image or a sticknote on that document by code?

I have try to find a method or function but no success on my rechearch. I know how to put a image embeded or a sticknote using the assisted methods but I need to do that by code. Is there a way to accomplish that?

Regards

Rogerio
rpicilli
 
Posts: 7
Joined: Fri Nov 25, 2011 12:39 pm

Re: Image over gdpicture

Postby Loïc » Tue Jan 03, 2012 3:49 pm

Ho Rogiero,

You have to use the AnnotationManager class which have been introduced in our latest versions.

Let me know if you need other information.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4445
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Image over gdpicture

Postby rpicilli » Wed Jan 04, 2012 2:38 am

Hi Loïc,

Could you tell me how can I find into gdpicture manual how to use the methods? I could find all the description but not a kind of how to use those methods. I want to buy your sdk but I don't to want to keep asking you how to do things. Don't get me wrong. I don't feel good every single doubt that I have be asking for support. By the way your company support is great but I'd rather discover by myself.

Up to now I was not able to understand the manual. Maybe its my fault, for sure but I need to realize how to "walk" alone with the manual before buy the product.

Thank for your help

Rogerio Picilli
rpicilli
 
Posts: 7
Joined: Fri Nov 25, 2011 12:39 pm

Re: Image over gdpicture

Postby Loïc » Wed Jan 04, 2012 3:37 pm

Hi,

Here a snippet:

Code: Select all
        Dim oAnnotationMgr As New AnnotationManager
        Dim oGdPicturePDF As New GdPicturePDF

        If oGdPicturePDF.LoadFromFile("c:\input.pdf", False) = GdPictureStatus.OK Then
            oAnnotationMgr.InitFromGdPicturePDF(oGdPicturePDF)
            oAnnotationMgr.SelectPage(1)
            oAnnotationMgr.AddStickyNoteAnnot(0, 0, 2, 2, "content")
            oAnnotationMgr.SaveDocumentToPDF("c:\output.pdf")
            oGdPicturePDF.CloseDocument()
        End If


You can find the reference guide from here: http://guides.gdpicture.com
You can download the latest SDK version here: http://www.gdpicture.com/download/downl ... urenet.php

Let me know if you need more details.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4445
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture XMP Annotations Plugin

Who is online

Users browsing this forum: No registered users and 1 guest