Provides interfaces to operate customized annotations on shared content.
More...
#include <ZoomSDKCustomizedAnnotationCtr.h>
Inherits NSObject.
Provides interfaces to operate customized annotations on shared content.
Definition at line 47 of file ZoomSDKCustomizedAnnotationCtr.h.
◆ canClear:
Query if it is able to clear annotations.
- Parameters
-
| clearType | Specify the ways to clear annotations. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ canSaveSnapshot
Determines if it is enabled to save the snapshot.
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ clear:
Clears annotations.
- Parameters
-
| clearType | Specify the way to clear annotations. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ getCurrentColor:
Gets the current's color annotation tools.
- Parameters
-
| color | The pointer to the object of color. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ getCurrentLineWidth:
Gets the current's line width annotation tool.
- Parameters
-
| lineWidth | The pointer to the object of long. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ getCurrentTool:
Gets the current annotation tool type.
- Parameters
-
| toolType | The type of annotation tools. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ redo
Redo the annotation having been deleted.
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ saveSnapshot:snapshotSaveType:
Saves the snapshot in the specified path.
- Parameters
-
| snapShotName | Name of the snapshot. |
| savedType | Sets the type of file to save the screenshot (PNG or PDF). |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ setColor:
Sets the colors of annotation tools.
- Parameters
-
| color | The structural object of Color. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ setLineWidth:
Sets the line width of annotation tools.
- Parameters
-
| lineWidth | Specify the line width to annotate. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ setTool:
Sets annotation tool type.
- Parameters
-
| toolType | The specify annotation tool type. |
- Returns
- If the function succeeds, it returns
ZoomSDKError_Success. Otherwise, this function returns an error.
- Warning
- The tool type AnnotationToolType_Picker and AnnotationToolType_SpotLight are not support for viewer.
◆ undo
Undo the last annotation.
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ _delegate
◆ _shareElement
◆ delegate