Annotation object interface.
More...
#include <customized_annotation.h>
Annotation object interface.
Definition at line 45 of file customized_annotation.h.
◆ ~ICustomizedAnnotationObj()
virtual ICustomizedAnnotationObj::~ICustomizedAnnotationObj |
( |
| ) |
|
|
inlinevirtual |
◆ CanClear()
Determine if it is enabled to clear annotations by the specified way.
- Parameters
-
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ CanDisableViewerAnnotation()
virtual SDKError ICustomizedAnnotationObj::CanDisableViewerAnnotation |
( |
bool & | bCan | ) |
|
|
pure virtual |
Determine if it is able to disallow viewer to annotate.
- Parameters
-
[out] | bCan | TRUE means able, FALSE not. It validates only when the return value is SDKErr_Success. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ CanDoAnnotation()
virtual SDKError ICustomizedAnnotationObj::CanDoAnnotation |
( |
bool & | bCan | ) |
|
|
pure virtual |
Determine if can do annotate.
- Parameters
-
[out] | bCan,true | means can do annotate, false can not. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ CanSaveSnapshot()
virtual SDKError ICustomizedAnnotationObj::CanSaveSnapshot |
( |
| ) |
|
|
pure virtual |
Determine if it is enabled to save the screenshot.
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ Clear()
Clear the annotation with the specified type.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ DisableViewerAnnotation()
virtual SDKError ICustomizedAnnotationObj::DisableViewerAnnotation |
( |
bool | bDisable | ) |
|
|
pure virtual |
Disallow/allow participants to annotate when viewing the sharing content.
- Parameters
-
bDisable | TRUE means disabled, FALSE not. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ GetCurColor()
virtual SDKError ICustomizedAnnotationObj::GetCurColor |
( |
unsigned long & | color | ) |
|
|
pure virtual |
Get the color of current annotation tool.
- Parameters
-
[out] | color | The color to annotate in RGB format. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ GetCurLineWidth()
virtual SDKError ICustomizedAnnotationObj::GetCurLineWidth |
( |
long & | lineWidth | ) |
|
|
pure virtual |
Get the value of line width of the current annotation tool.
- Parameters
-
[out] | lineWidth | The width of the current annotation tool. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ GetCurTool()
Get the type of the current annotation tool.
- Parameters
-
type | Specify the type of the annotation tool. For more details, see AnnotationToolType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ IsAnnotationDisable()
virtual bool ICustomizedAnnotationObj::IsAnnotationDisable |
( |
| ) |
|
|
pure virtual |
Determine whether current meeting supports annotation feature.
- Returns
- true not support, false support.
◆ IsViewerAnnotationDisabled()
virtual bool ICustomizedAnnotationObj::IsViewerAnnotationDisabled |
( |
| ) |
|
|
pure virtual |
Determine if viewer's privilege of annotation is disabled.
- Returns
- True indicates viewer's privilege of annotation is disabled. Otherwise False.
◆ Redo()
virtual SDKError ICustomizedAnnotationObj::Redo |
( |
| ) |
|
|
pure virtual |
Redo the annotation that was undone.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SaveSnapshot()
Save the screenshot in the specified path.
- Parameters
-
path | Specify the path to store the screenshot. If the specified path is wrong, the SDKERR_INVALID_PARAMETER will be returned. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetColor()
virtual SDKError ICustomizedAnnotationObj::SetColor |
( |
unsigned long | color | ) |
|
|
pure virtual |
Set the color to annotate.
- Parameters
-
color | Specify the color to annotate, in RGB format. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetEvent()
Set annotation object callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetLineWidth()
virtual SDKError ICustomizedAnnotationObj::SetLineWidth |
( |
long | lineWidth | ) |
|
|
pure virtual |
Set the value of line width of annotation tool.
- Parameters
-
lineWidth | The line width of annotation tool. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetTool()
Set the tool to annotate.
- Parameters
-
type | Specify the type of the annotation tool. For more details, see AnnotationToolType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ Undo()
virtual SDKError ICustomizedAnnotationObj::Undo |
( |
| ) |
|
|
pure virtual |
Undo the last annotation.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.