Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_annotation.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_CUSTOMIZED_ANNOTATION_H_
7#define _ZOOM_CUSTOMIZED_ANNOTATION_H_
8#include "zoom_sdk_def.h"
10
13
23
36{
37public:
41};
42
46{
47public:
53
59
65
71
76 virtual SDKError SetColor(unsigned long color) = 0;
77
82 virtual SDKError SetLineWidth(long lineWidth) = 0;
83
88 virtual SDKError GetCurColor(unsigned long& color) = 0;
89
94 virtual SDKError GetCurLineWidth(long& lineWidth) = 0;
95
101
105 virtual SDKError Undo() = 0;
106
110 virtual SDKError Redo() = 0;
111
116
121 virtual SDKError SaveSnapshot(const zchar_t* path, SDKAnnoSaveType nType) = 0;
122
127 virtual SDKError CanDoAnnotation(bool& bCan) = 0;
128
131 virtual bool IsAnnotationDisable() = 0;
132
137 virtual SDKError DisableViewerAnnotation(bool bDisable) = 0;
138
143 virtual SDKError CanDisableViewerAnnotation(bool& bCan) = 0;
144
147 virtual bool IsViewerAnnotationDisabled() = 0;
148
150
151
152};
153
168
197#endif
Annotation controller callback event.
virtual void onSharingShareAnnotationStatusChanged(ICustomizedShareRender *share_render_, CustomizedShareAnnotationStatus status_)=0
Callback event when the annotation status changes.
virtual void onCustomizedAnnotationObjDestroyed(ICustomizedAnnotationObj *obj_)=0
Callback of destroying the specified annotation object.
Annotation controller interface.
virtual SDKError SetEvent(ICustomizedAnnotationControllerEvent *event_)=0
Set annotation controller callback event handler.
virtual SDKError CreateAnnoObj(ICustomizedShareRender *view_share_render, ICustomizedAnnotationObj **pp_obj)=0
An instance created on the specified render which is an object of ICustomizedShareRender created on t...
virtual SDKError DestroyAnnoObj(ICustomizedAnnotationObj *anno_obj)=0
Destroy the specified annotation object.
Annotation object callback event.
virtual void onAnnotationObjToolChange(AnnotationToolType type_)=0
Callback event that the annotation tool changes.
Annotation object interface.
virtual SDKError SaveSnapshot(const zchar_t *path, SDKAnnoSaveType nType)=0
Save the screenshot in the specified path.
virtual SDKError CanDoAnnotation(bool &bCan)=0
Determine if can do annotate.
virtual SDKError CanSaveSnapshot()=0
Determine if it is enabled to save the screenshot.
virtual SDKError DisableViewerAnnotation(bool bDisable)=0
Disallow/allow participants to annotate when viewing the sharing content.
virtual SDKError GetCurColor(unsigned long &color)=0
Get the color of current annotation tool.
virtual SDKError SetEvent(ICustomizedAnnotationObjEvent *event_)=0
Set annotation object callback event handler.
virtual SDKError SetTool(AnnotationToolType type)=0
Set the tool to annotate.
virtual SDKError Clear(AnnotationClearType type)=0
Clear the annotation with the specified type.
virtual SDKError CanDisableViewerAnnotation(bool &bCan)=0
Determine if it is able to disallow viewer to annotate.
virtual SDKError SetLineWidth(long lineWidth)=0
Set the value of line width of annotation tool.
virtual SDKError SetColor(unsigned long color)=0
Set the color to annotate.
virtual SDKError Redo()=0
Redo the annotation that was undone.
virtual SDKError Undo()=0
Undo the last annotation.
virtual SDKError GetCurTool(AnnotationToolType &type)=0
Get the type of the current annotation tool.
virtual SDKError GetCurLineWidth(long &lineWidth)=0
Get the value of line width of the current annotation tool.
virtual bool IsViewerAnnotationDisabled()=0
Determine if viewer's privilege of annotation is disabled.
virtual SDKError CanClear(AnnotationClearType type)=0
Determine if it is enabled to clear annotations by the specified way.
virtual bool IsAnnotationDisable()=0
Determine whether current meeting supports annotation feature.
Share render interface.
@ SDK_ANNO_SAVE_PNG_MEMORY
@ SDK_ANNO_SAVE_PDF
@ SDK_ANNO_SAVE_PNG
@ SDK_ANNO_SAVE_NONE
@ SDK_ANNO_SAVE_PDF_MEMORY
@ SDK_ANNO_SAVE_BITMAP_MEMORY
CustomizedShareAnnotationStatus
Status of custom annotation toolbar. Here are more detailed structural descriptions....
@ CS_ANNO_READY_TO_USE
The toolbar has been created.
@ CS_ANNO_CLOSE
The toolbar will be destroyed.
Annotation of Meeting Service Interface.
AnnotationToolType
Types of annotation tool. Here are more detailed structural descriptions.
AnnotationClearType
Clear types of annotation tools. Here are more detailed structural descriptions.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.