Click or drag to resize
PMPageSizeRestrictionEnable Method
Enables restriction by page sizes

Namespace: PM90SettingsAPI.Restrictions
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public void Enable(
	List<PMPageSize> sizes,
	PMRestrictionListType filterMethod = PMRestrictionListType.WhiteList,
	PMAction overrideAction = null
)

Parameters

sizes
Type: System.Collections.GenericListPMPageSize
List of sizes to use when restricting
filterMethod (Optional)
Type: PM90SettingsAPI.RestrictionsPMRestrictionListType
Allows whitelist, or blacklist style of restricting sizes
overrideAction (Optional)
Type: PM90SettingsAPI.ActionsPMAction
A custom action to take for this restriction on this object. If null the default action will be used.
See Also