Foxit PDF SDK  9.1
FSMenuItem Class Reference
Inheritance diagram for FSMenuItem:

Instance Methods

(instancetype) - initWithTitle:image:action:
 Intialize custom Item. More...
 

Properties

FSMenuItemAction action
 
UIImage * image
 
NSUInteger index
 
NSString * title
 

Detailed Description

brief Definition for custom item.

Method Documentation

◆ initWithTitle:image:action:

- (instancetype) initWithTitle: (NSString *)  title
image: (UIImage *)  image
action: (FSMenuItemAction)  action 

Intialize custom Item.

Parameters
[in]titleThe Item title.
[in]imageThe custom item image
[in]actionThe custom item action callback
Returns
The custom Item instance.

Property Documentation

◆ action

- (FSMenuItemAction) action
readwritenonatomiccopy

brief The callback action associated with this menu item.

◆ image

- (UIImage*) image
readwritenonatomicstrong

brief The custom item image.

◆ index

- (NSUInteger) index
readnonatomicassign

brief Get index of the custom Item in the group It will be NSNotFound if it is not added

◆ title

- (NSString*) title
readwritenonatomiccopy

brief The custom title text.