PDFAnnotationLine problem
PDFAnnotationLine problem
- Subject: PDFAnnotationLine problem
- From: Vince <email@hidden>
- Date: Mon, 4 Feb 2008 16:59:20 -0500
I am trying to create annotations for pdf files using the
PDFAnnotation routines.
PDFAnnotationSquare, PDFAnnotationCircle, and PDFAnnotationLink work
fine.
But I am having problems with PDFAnnotationLine - regarding both the
placement of the line as well as the lines thickness and style.
Is anyone aware of any bugs associated with PDFAnnotationLine?
Specifically, immediately upon creating a PDFAnnotationLine instance,
the PDFBorder instance does not seem to be created.
I tested it with the following code:
else if(annType == PSPDFSquare){
newAnn = [[PDFAnnotationSquare alloc] initWithBounds: bounds];
if(![newAnn border]) NSLog(@"no border for square annotation
immediately after creating it ");
}else if(annType == PSPDFLine){
newAnn = [[PDFAnnotationLine alloc] initWithBounds: bounds];
if(![newAnn border]) NSLog(@"no border for line annotation
immediately after creating it "); // ERROR ALWAYS HERE: BORDER NOT
CREATED
There are not problems with using PDFAnnotation Square; but I always
receive the error with PDFAnnotationLine.
Thank you for any assistance; I've spent quite a bit of time on this
problem and couldn't find any solution in the documentation or on the
web.
Best wishes,
Vince
_______________________________________________
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