I am using the below code. In GetWatermarkJsonData() I am passing watermark details like text, fontSize…, . Do I need to add any other values or plugin to achieve this. Please guide me
var config = new Dictionary<string, object>
{
{ "type", "desktop" },
{ "documentType", await GetDocumentType() },
{ "watermarkJsonData", GetWatermarkJsonData() },
{ "auditConfig", GetAuditConfig() },
{
"document", new Dictionary<string, object>
{
{ "title", _itemContent.DisplayName },
{ "url", _presignedUrl },
{ "fileType", _itemContent.Extension },
{ "key", $"{parameters.ItemId}_{documentCreatedTicks}" },
{
"info", new Dictionary<string, object>
{
{ "owner", "Me" },
{ "uploaded", _dateTimeProvider.UtcNow.ToShortDateString() },
{ "favorite", null },
}
},
{
"permissions", new Dictionary<string, object>
{
{ "comment", false },
{ "download", hasDownloadPermission },
{ "print", hasPrintPermission },
{ "edit", false },
{ "copy", false },
{ "fillForms", false },
{ "modifyFilter", false },
{ "modifyContentControl", false },
{ "review", false },
}
},
}
}
}