239
239
[Export ("paths")]
240
240
NSBezierPath [] Paths { get; }
242
[Export ("addBezierPath:path")]
242
[Export ("addBezierPath:")]
243
243
void AddBezierPathpath (NSBezierPath path);
245
[Export ("removeBezierPath:path")]
245
[Export ("removeBezierPath:")]
246
246
void RemoveBezierPathpath (NSBezierPath path);
607
607
[Export ("removeAnnotation:")]
608
608
void RemoveAnnotation (PdfAnnotation annotation);
610
[Export ("annotationAtPoint:point")]
610
[Export ("annotationAtPoint:")]
611
611
PdfAnnotation GetAnnotation (PointF point);
613
613
[Export ("drawWithBox:")]
653
653
[BaseType (typeof (NSObject), Name="PDFSelection")]
654
[DisableDefaultCtor] // An uncaught exception was raised: init: not a valid initializer for PDFSelection
654
655
public interface PdfSelection {
655
656
[Export ("initWithDocument:")]
656
657
IntPtr Constructor (PdfDocument document);
668
669
[Export ("attributedString")]
669
670
NSAttributedString AttributedString { get; }
671
[Export ("boundsForPage:page")]
672
[Export ("boundsForPage:")]
672
673
RectangleF GetBoundsForPage (PdfPage page);
870
871
[Export ("copy:")]
871
872
void Copy (NSObject sender);
873
[Export ("printWithInfo:autoRotate:doRotate")]
874
[Export ("printWithInfo:autoRotate:")]
874
875
void Print (NSPrintInfo printInfo, bool doRotate);
876
877
[Export ("printWithInfo:autoRotate:pageScaling:")]
913
914
[Export ("enableDataDetectors")]
914
915
bool EnableDataDetectors { get; set; }
917
[Field("PDFViewChangedHistoryNotification")]
919
NSString ChangedHistoryNotification { get; }
921
[Field("PDFViewDocumentChangedNotification")]
923
NSString DocumentChangedNotification { get; }
925
[Field ("PDFViewPageChangedNotification")]
927
NSString PageChangedNotification { get; }
929
[Field ("PDFViewScaleChangedNotification")]
931
NSString ScaleChangedNotification { get; }
933
[Field ("PDFViewAnnotationHitNotification")]
934
[Notification (typeof (PdfViewAnnotationHitEventArgs))]
935
NSString AnnotationHitNotification { get; }
937
[Field ("PDFViewCopyPermissionNotification")]
939
NSString CopyPermissionNotification { get; }
941
[Field ("PDFViewAnnotationWillHitNotification")]
943
NSString AnnotationWillHitNotification { get; }
945
[Field ("PDFViewSelectionChangedNotification")]
947
NSString SelectionChangedNotification { get; }
949
[Field ("PDFViewDisplayModeChangedNotification")]
951
NSString DisplayModeChangedNotification { get; }
953
[Field ("PDFViewDisplayBoxChangedNotification")]
955
NSString DisplayBoxChangedNotification { get; }
958
public interface PdfViewAnnotationHitEventArgs {
959
[Export ("PDFAnnotationHit")]
960
PdfAnnotation AnnotationHit { get; }
917
963
//Verify delegate methods. There are default actions (not just return null ) that should occur
918
964
//if the delegate does not implement the method.
919
965
[BaseType (typeof (NSObject))]