Watermark.DecodeWatermark
Contents
[
Hide
]DecodeWatermark(Mesh)
Decode the watermark from a mesh
public static string DecodeWatermark(Mesh input)
Parameter | Type | Description |
---|---|---|
input | Mesh | The mesh to extract watermark |
Return Value
Blind watermark or null if no watermark decoded.
Exceptions
exception | condition |
---|---|
UnauthorizedAccessException | The mesh is protected by password, and provided password is incorrect. |
Examples
The following code shows how to decode a blind watermark from a mesh saved in 3D file
Mesh mesh = (Mesh)FileFormat.PLY.Decode("test.ply");
String watermark = Watermark.DecodeWatermark(mesh);
See Also
- class Mesh
- class Watermark
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
DecodeWatermark(Mesh, string)
Decode the watermark from a mesh
public static string DecodeWatermark(Mesh input, string password)
Parameter | Type | Description |
---|---|---|
input | Mesh | The mesh to extract watermark |
password | String | The password to decrypt the watermark |
Return Value
Blind watermark or null if no watermark decoded.
Exceptions
exception | condition |
---|---|
UnauthorizedAccessException | The mesh is protected by password, and provided password is incorrect. |
Examples
The following code shows how to decode a blind watermark from a mesh saved in 3D file
Mesh mesh = (Mesh)FileFormat.PLY.Decode("test.ply");
String watermark = Watermark.DecodeWatermark(mesh, "password");
See Also
- class Mesh
- class Watermark
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D