Re: How to use PDFAnnotationStamp?
Re: How to use PDFAnnotationStamp?
- Subject: Re: How to use PDFAnnotationStamp?
- From: Antonio Nunes <email@hidden>
- Date: Mon, 23 May 2011 19:32:26 +0100
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.
-António
-----------------------------------------
Perfume is the forgiveness
that the trampled flower casts
upon the heel that crushes it.
-----------------------------------------
_______________________________________________
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