• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use PDFAnnotationStamp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use PDFAnnotationStamp?


  • Subject: Re: How to use PDFAnnotationStamp?
  • From: Laurent Daudelin <email@hidden>
  • Date: Mon, 23 May 2011 11:49:57 -0700

On May 23, 2011, at 11:32, Antonio Nunes wrote:

> On 23 May 2011, at 19:26, Laurent Daudelin wrote:
>
>> I've been trying to use class "PDFAnnotationStamp" but it seems it's missing something. Its superclass "PDFAnnotation" has a method called "hasAppearanceStream" but there doesn't seem to be any way to set the appearance stream, in "PDFAnnotation" or "PDFAnnotationStamp".
>
> Subclass PDFAnnotationStamp and in the subclass draw whatever you need to draw in:
>
> - (void) drawWithBox: (PDFDisplayBox) box
>
> That will cause it to have an appearance stream.

Duh! That was easy! Thanks, Antonio.

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software						email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to use PDFAnnotationStamp? (From: Laurent Daudelin <email@hidden>)
 >Re: How to use PDFAnnotationStamp? (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: cocoa dragging and constraining coordinates
  • Next by Date: Re: problem bringing up print dialog for epson printer in 64-bit mode
  • Previous by thread: Re: How to use PDFAnnotationStamp?
  • Next by thread: Re: XCode4 - Setup for 2 apps 1 framework
  • Index(es):
    • Date
    • Thread