Foxit PDF SDK
FSHeaderFooterContent类 参考

继承自 NSObject .

构造函数

(id) - init
 构造函数。

 
(id) - initWithHeader_left_content:header_center_content:header_right_content:footer_left_content:footer_center_content:footer_right_content:
 带参数的构造函数。
更多...
 
(id) - initWithOther:
 用另一个页眉页脚内容对象的构造函数。
更多...
 
(void) - set:header_center_content:header_right_content:footer_left_content:footer_center_content:footer_right_content:
 设置值。
更多...
 

属性

NSString * footer_center_content
 中间页脚的内容。

 
NSString * footer_left_content
 左页脚的内容。

 
NSString * footer_right_content
 右页脚的内容。

 
NSString * header_center_content
 中间页眉的内容。

 
NSString * header_left_content
 左页眉的内容。

 
NSString * header_right_content
 右页眉的内容。

 

详细描述

此类表示页眉页脚内容。 此类的任何字符串成员都可以直接设置或通过使用类 FSHeaderFooterContentGenerator 生成。

参见
FSHeaderFooterContentGenerator .

函数文档

◆ initWithHeader_left_content:header_center_content:header_right_content:footer_left_content:footer_center_content:footer_right_content:()

- (id) initWithHeader_left_content: (NSString *)  header_left_content
header_center_content: (NSString *)  header_center_content
header_right_content: (NSString *)  header_right_content
footer_left_content: (NSString *)  footer_left_content
footer_center_content: (NSString *)  footer_center_content
footer_right_content: (NSString *)  footer_right_content 

带参数的构造函数。

参数
[in]header_left_content左页眉的内容。
[in]header_center_content中间页眉的内容。
[in]header_right_content右页眉的内容。
[in]footer_left_content左页脚的内容。
[in]footer_center_content中间页脚的内容。
[in]footer_right_content右页脚的内容。

◆ initWithOther:()

- (id) initWithOther: (FSHeaderFooterContent*)  other

用另一个页眉页脚内容对象的构造函数。

参数
[in]other另一个页眉页脚内容对象。

◆ set:header_center_content:header_right_content:footer_left_content:footer_center_content:footer_right_content:()

- (void) set: (NSString *)  header_left_content
header_center_content: (NSString *)  header_center_content
header_right_content: (NSString *)  header_right_content
footer_left_content: (NSString *)  footer_left_content
footer_center_content: (NSString *)  footer_center_content
footer_right_content: (NSString *)  footer_right_content 

设置值。

参数
[in]header_left_content左页眉的内容。
[in]header_center_content中间页眉的内容。
[in]header_right_content右页眉的内容。
[in]footer_left_content左页脚的内容。
[in]footer_center_content中间页脚的内容。
[in]footer_right_content右页脚的内容。
返回
无。