![]() |
C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
|
The Drawing class represents a diagrammatic representation of an area. A drawing may contain any number of markers to represent points of interest within the area. More...
#include <Drawing.h>
Public Member Functions | |
Drawing (VxSdk::IVxDrawing *vxDrawing) | |
Constructor. More... | |
virtual | ~Drawing () |
Destructor. More... | |
!Drawing () | |
Finaliser. More... | |
Results::Value | AddMarker (NewMarker^ newMarker) |
Creates a new marker. More... | |
Results::Value | DeleteImage () |
Deletes the binary drawing image data. More... | |
Results::Value | DeleteLock () |
Deletes the resource lock, if any. More... | |
Results::Value | DeleteMarker (Marker^ marker) |
Deletes a marker. More... | |
System::String^ | GetImageUri () |
Gets the image uri, if any. More... | |
ResourceLock^ | GetLock () |
Gets the resource lock, if any. More... | |
Results::Value | Refresh () |
Refreshes this instances properties. More... | |
Results::Value | SetImage (System::String^ imagePath) |
Sets the binary drawing image data. The maximum allowable size of the image is 128 MB. Supported file types are DWG, JPG and PNG. More... | |
Results::Value | SetLock () |
Sets a resource lock on this drawing, owned by the current user. More... | |
Package Functions | |
System::Collections::Generic::List< Marker^ >^ | _GetMarkers () |
Package Attributes | |
VxSdk::IVxDrawing * | _drawing |
Properties | |
System::String^ | Id [get] |
Gets the unique drawing identifier. More... | |
System::Collections::Generic::List< Marker^ >^ | Markers [get] |
Gets the markers associated with this drawing. More... | |
System::String^ | Name [get, set] |
Gets or sets the friendly name. More... | |
The Drawing class represents a diagrammatic representation of an area. A drawing may contain any number of markers to represent points of interest within the area.
CPPCli::Drawing::Drawing | ( | VxSdk::IVxDrawing * | vxDrawing | ) |
|
inlinevirtual |
CPPCli::Drawing::!Drawing | ( | ) |
|
package |
Definition at line 98 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::AddMarker | ( | NewMarker^ | newMarker | ) |
Creates a new marker.
newMarker | The new marker to be added. |
Definition at line 17 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::DeleteImage | ( | ) |
Deletes the binary drawing image data.
Definition at line 32 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::DeleteLock | ( | ) |
Deletes the resource lock, if any.
Definition at line 36 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::DeleteMarker | ( | Marker^ | marker | ) |
Deletes a marker.
marker | The marker to be deleted. |
Definition at line 48 of file Drawing.cpp.
System::String CPPCli::Drawing::GetImageUri | ( | ) |
Gets the image uri, if any.
Definition at line 52 of file Drawing.cpp.
CPPCli::ResourceLock CPPCli::Drawing::GetLock | ( | ) |
Gets the resource lock, if any.
Definition at line 68 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::Refresh | ( | ) |
Refreshes this instances properties.
Definition at line 80 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::SetImage | ( | System::String^ | imagePath | ) |
Sets the binary drawing image data. The maximum allowable size of the image is 128 MB. Supported file types are DWG, JPG and PNG.
imagePath | The local path to the image file. |
Definition at line 84 of file Drawing.cpp.
CPPCli::Results::Value CPPCli::Drawing::SetLock | ( | ) |
Sets a resource lock on this drawing, owned by the current user.
Definition at line 94 of file Drawing.cpp.
|
package |
|
get |
|
get |
|
getset |