Foxit PDF SDK
|
Public Member Functions | |
PDF3DAnnotInstance () | |
Constructor. | |
PDF3DAnnotInstance (PDF3DAnnotInstance other) | |
Constructor, with another 3d annot instance object. More... | |
global::System.IntPtr | ActivateCanvas (global::System.IntPtr screen_canvas_parent) |
Activate canvas. More... | |
Annot | GetAnnot () |
Get associated annotation. More... | |
bool | IsEmpty () |
Check whether current object is empty or not. More... | |
void | OnLButtonDown (int flag, PointF point) |
Call this function when pressing the left button. More... | |
void | OnLButtonUp (int flag, PointF point) |
Call this function when releasing the left button. More... | |
void | OnMouseMove (int flag, PointF point) |
Call this function when moving the mouse. More... | |
void | OnMouseWheel (int flag, int delta, PointF point) |
Call this function when scrolling the mouse wheel. More... | |
void | OnRButtonDown (int flag, PointF point) |
Call this function when pressing the right button. More... | |
void | OnRButtonUp (int flag, PointF point) |
Call this function when releasing the right button. More... | |
void | SetController (PDF3DAnnotInstance.PDF3DController tool_tag) |
Set controller. More... | |
void | SetRenderMode (PDF3DAnnotInstance.PDF3DRenderMode render_mode) |
Set model render mode. More... | |
void | UpdateCanvas (RectI rect) |
Update the canvas. More... | |
This class represents a 3D annotation instance.
Enumeration for the 3D render mode.
Values of this enumeration should be used alone.
|
inline |
Constructor, with another 3d annot instance object.
[in] | other | Another 3d annot instance object. |
|
inline |
Activate canvas.
[in] | screen_canvas_parent | The parent window handle used to activate the canvas. |
|
inline |
Get associated annotation.
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
|
inline |
Call this function when pressing the left button.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | point | The point of the mouse. |
|
inline |
Call this function when releasing the left button.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | point | The point of the mouse. |
|
inline |
Call this function when moving the mouse.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | point | The point of the mouse. |
|
inline |
Call this function when scrolling the mouse wheel.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | delta | The delta of the mouse wheel. |
[in] | point | The point of the mouse. |
|
inline |
Call this function when pressing the right button.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | point | The point of the mouse. |
|
inline |
Call this function when releasing the right button.
Ensure the function has been called.
[in] | flag | The flag of the mouse event. |
[in] | point | The point of the mouse. |
|
inline |
Set controller.
Ensure the function has been called.
[in] | tool_tag | The controller tool to be set. Please refer to values starting from foxit.addon.pdf3d.PDF3DAnnotInstance.PDF3DController.e_ControllerRotate and this should be one of these values. |
|
inline |
Set model render mode.
Ensure the function has been called.
[in] | render_mode | The render mode to be set. Please refer to values starting from foxit.addon.pdf3d.PDF3DAnnotInstance.PDF3DRenderMode.e_RenderModeSolid and this should be one of these values. |
|
inline |
Update the canvas.
Ensure the function has been called. Call this function when the canvas size and position need to be updated.
[in] | rect | The new area of canvas in device coordinate system. |