Class Watermark
Watermark class
Utility to encode/decode blind watermark to/from a mesh.
public class Watermark
Methods
Name | Description |
---|---|
static DecodeWatermark(Mesh) | Decode the watermark from a mesh |
static DecodeWatermark(Mesh, string) | Decode the watermark from a mesh |
static EncodeWatermark(Mesh, string) | Encode a text into mesh’ blind watermark. |
static EncodeWatermark(Mesh, string, string) | Encode a text into mesh’ blind watermark. |
Examples
The following code shows how to encode a blind watermark into a mesh and decode it.
Mesh mesh = (new Cylinder()).ToMesh();
var encodedMesh = Watermark.EncodeWatermark(mesh, "Hello", null);
var watermark = Watermark.DecodeWatermark(encodedMesh, null);
See Also
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D