CPDFHeaderFooter Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | CPDFHeaderFooter.h |
pageString
Method to get / set the page range of the header & footer by string, such as “0,3,5-7”.
@property (nonatomic, strong) NSString *pageStringDiscussion
Method to get / set the page range of the header & footer by string, such as “0,3,5-7”.
Declared In
CPDFHeaderFooter.h
margin
Method to get / set the margins of the header & footer.
@property (nonatomic, assign) CPDFKitPlatformEdgeInsets marginDiscussion
Method to get / set the margins of the header & footer.
Declared In
CPDFHeaderFooter.h
hasHeaderFooter
Method to check whether the document has a header & footer..
@property (nonatomic, assign) BOOL hasHeaderFooterDiscussion
Method to check whether the document has a header & footer..
Declared In
CPDFHeaderFooter.h
– textAtIndex:
Gets the text of the header & footer at the specified index.
- (NSString *)textAtIndex:(NSUInteger)indexDiscussion
Gets the text of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– setText:atIndex:
Sets the text of the header & footer at the specified index.
- (void)setText:(NSString *)text atIndex:(NSUInteger)indexDiscussion
Sets the text of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– textColorAtIndex:
Gets the font color of the header & footer at the specified index.
- (CPDFKitPlatformColor *)textColorAtIndex:(NSUInteger)indexDiscussion
Gets the font color of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– setTextColor:atIndex:
Sets the font color of the header & footer at the specified index.
- (void)setTextColor:(CPDFKitPlatformColor *)color atIndex:(NSUInteger)indexDiscussion
Sets the font color of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– fontSizeAtIndex:
Gets the font size of the header & footer at the specified index.
- (CGFloat)fontSizeAtIndex:(NSUInteger)indexDiscussion
Gets the font size of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– setFontSize:atIndex:
Sets the font size of the header & footer at the specified index.
- (void)setFontSize:(CGFloat)fontSize atIndex:(NSUInteger)indexDiscussion
Sets the font size of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– fontNameAtIndex:
Gets the font name of the header & footer at the specified index.
- (NSString *)fontNameAtIndex:(NSUInteger)indexDiscussion
Gets the font name of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– setFontName:atIndex:
Sets the font name of the header & footer at the specified index.
- (void)setFontName:(NSString *)fontName atIndex:(NSUInteger)indexDiscussion
Sets the font name of the header & footer at the specified index.
Declared In
CPDFHeaderFooter.h
– update
Updates the header & footer.
- (void)updateDiscussion
Updates the header & footer.
Declared In
CPDFHeaderFooter.h
– reload
Reload the header & footer.
- (void)reloadDiscussion
Reload the header & footer.
Declared In
CPDFHeaderFooter.h
– clear
Removes the header & footer.
- (BOOL)clearDiscussion
Removes the header & footer.
Declared In
CPDFHeaderFooter.h