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

Instance Methods

(instancetype) - NS_UNAVAILABLE
 

Class Methods

(instancetype) + ItemWithToolTag:readToolbarItems:
 Initialization method. More...
 
(instancetype) + NS_UNAVAILABLE
 Disable the default initialization. More...
 

Properties

UIImage * image
 Get/Set the item image. More...
 
BOOL isOnToolbar
 Whether to display on the toolbar. More...
 
NSArray< FSMainToolbarItem * > * mainToolbarItems
 Get/Set the main Items displayed on the toolbar. More...
 
UIEdgeInsets padImageEdgeInsets
 
UIEdgeInsets padTitleEdgeInsets
 Default ipad UIEdgeInsets. More...
 
UIEdgeInsets phoneImageEdgeInsets
 
UIEdgeInsets phoneTitleEdgeInsets
 Default iphone UIEdgeInsets. More...
 
NSArray< FSReadToolbarItem * > * readToolbarItems
 Get/Set the read Items displayed on the toolbar. More...
 
NSString * title
 Get/Set the item title. More...
 
FSMainTopbarToolTag toolTag
 Get the existing-supplied tool tag. Please refer to FSMainTopbarToolTagXXX values and it would be one of these values.. More...
 

Method Documentation

◆ ItemWithToolTag:readToolbarItems:

+ (instancetype) ItemWithToolTag: (FSMainTopbarToolTag toolTag
readToolbarItems: (nullable NSArray< FSReadToolbarItem * > *)  readToolbarItems 

Initialization method.

Parameters
[in]toolTagThe tool tag.
[in]readToolbarItemsThe read Items displayed on the toolbar
Returns
The main topbar tool tag Item.

◆ NS_UNAVAILABLE [1/2]

+ (instancetype) NS_UNAVAILABLE

Disable the default initialization.

◆ NS_UNAVAILABLE [2/2]

- (instancetype) NS_UNAVAILABLE

Property Documentation

◆ image

- (UIImage*) image
readwritenonatomicstrong

Get/Set the item image.

◆ isOnToolbar

- (BOOL) isOnToolbar
readnonatomicassign

Whether to display on the toolbar.

◆ mainToolbarItems

- (NSArray<FSMainToolbarItem *>*) mainToolbarItems
readwritenonatomiccopy

Get/Set the main Items displayed on the toolbar.

◆ padImageEdgeInsets

- (UIEdgeInsets) padImageEdgeInsets
readwritenonatomicassign

◆ padTitleEdgeInsets

- (UIEdgeInsets) padTitleEdgeInsets
readwritenonatomicassign

Default ipad UIEdgeInsets.

◆ phoneImageEdgeInsets

- (UIEdgeInsets) phoneImageEdgeInsets
readwritenonatomicassign

◆ phoneTitleEdgeInsets

- (UIEdgeInsets) phoneTitleEdgeInsets
readwritenonatomicassign

Default iphone UIEdgeInsets.

◆ readToolbarItems

- (NSArray<FSReadToolbarItem *>*) readToolbarItems
readwritenonatomiccopy

Get/Set the read Items displayed on the toolbar.

◆ title

- (NSString*) title
readwritenonatomiccopy

Get/Set the item title.

◆ toolTag

- (FSMainTopbarToolTag) toolTag
readnonatomicassign

Get the existing-supplied tool tag. Please refer to FSMainTopbarToolTagXXX values and it would be one of these values..