You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the document.Document.AddWatermarkText() function lacks support for configuring:
Color (e.g., red, blue, etc.)
Transparency (Opacity) (e.g., 50% opacity)
Text Layout Options (e.g., rotation, position settings)
For example, a typical watermark should allow customization like:
Font: Arial Unicode MS
Text: "CONFIDENTIAL"
Size: 48
Color: Red
Opacity: 50%
Rotation: 45° diagonal
However, unioffice does not provide built-in APIs for these configurations.
Expected Behavior
Provide API support for:
wm:=doc.AddWatermarkText("CONFIDENTIAL")
wm.SetColor(color.Red) // Set text colorwm.SetOpacity(50) // Set transparency (50%)wm.SetRotation(45) // Rotate text by 45 degrees
The text was updated successfully, but these errors were encountered:
Welcome! Thanks for posting your first issue. The way things work here is that while customer issues are prioritized,
other issues go into our backlog where they are assessed and fitted into the roadmap when suitable.
If you need to get this done, consider buying a license which also enables you to use it in your commercial products.
More information can be found on https://unidoc.io/
Description
Currently, the
document.Document.AddWatermarkText()
function lacks support for configuring:For example, a typical watermark should allow customization like:
Arial Unicode MS
"CONFIDENTIAL"
48
Red
50%
45° diagonal
However,
unioffice
does not provide built-in APIs for these configurations.Expected Behavior
Provide API support for:
The text was updated successfully, but these errors were encountered: