[]
Describes a predefined action available in the preview to the end user (e.g. file open or zoom in).
public class C1PreviewAction
Name | Description |
---|---|
Action | Gets the C1PreviewActionEnum value corresponding to the current action. |
Flags | Gets the combination of C1PreviewActionFlags associated with the current action. |
Image | Gets the image corresponding to the current action. |
Tag | Gets the tag string corresponding to the current action. This string (assigned to the Tag) identifies UI elements (such as toolbar buttons) associated with the current action. |
Text | Gets the text corresponding to the current action. |
ToolTip | Gets the tooltip corresponding to the current action. |
Name | Description |
---|---|
ActionFlags(C1PreviewActionEnum) | Retrieves the combination of C1PreviewActionFlags for the specified action. |
ActionFromTag(string) | Returns a C1PreviewActionEnum value corresponding to a tag string associated with a UI element. When C1PrintPreviewControl's UI elements (such as toolbar items) are created, their Tag properties are assigned predefined strings that determine actions performed when those elements are invoked. This method allows to find out the specific action associated with a tag. |
FromAction(C1PreviewActionEnum) | Creates a C1PreviewAction object corresponding to the specified action, using the Flat image set. |
FromTag(string) | Creates a C1PreviewAction object corresponding to the specified string tag value (see ActionFromTag(string) for details). |
GetImage(ImageSetEnum, C1PreviewActionEnum) | Gets one of the predefined images representing the specified action. |