| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.5 and later.
|
| Declared in | PDFActionRemoteGoTo.h |
PDFActionRemoteGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action that targets another document.
Initializes the remote go-to action with the specified page index, point, and document URL.
- (id)initWithPageIndex:(NSUInteger)pageIndex atPoint:(NSPoint)point fileURL:(NSURL *)url
The page index of the remote document.
The point on the page in the remote document.
The URL of the remote PDF document.
An initialized PDFActionRemoteGoTo instance, or NULL if the object could not be initialized..
The PDFActionRemoteGoTo object uses a zero-based page index, not a PDFPage object. This simplifies the handling of remote destinations for documents that may not be instantiated yet.
PDFActionRemoteGoTo.hReturns the zero-based page index referenced by the remote go-to action.
- (NSUInteger)pageIndex
The page index referenced by the remote go-to action.
PDFActionRemoteGoTo.hReturns the point, in page space, on the page referenced by the remote go-to action.
- (NSPoint)point
The point on the page of the remote document referenced by the action. If either the x value or the y value of the point is kPDFDestinationUnspecifiedValue, no position on the page is specified.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFActionRemoteGoTo.hSets the zero-based page index referenced by the remote go-to action.
- (void)setPageIndex:(NSUInteger)pageIndex
The page index in the remote document to go to.
PDFActionRemoteGoTo.hSets the point, in page space, on the page referenced by the remote go-to action.
- (void)setPoint:(NSPoint)point
The point on the remote page to go to. If either the x value or the y value of the point is kPDFDestinationUnspecifiedValue, no position on the page is specified.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFActionRemoteGoTo.hSets the URL of the document referenced by the remote go-to action.
- (void)setURL:(NSURL *)url
The URL of the remote document to go to.
PDFActionRemoteGoTo.hReturns the URL of the document referenced by the remote go-to action.
- (NSURL *)URL
The URL of the remote document referenced by the action.
PDFActionRemoteGoTo.h
Last updated: 2007-12-11