Easier way to set Watermark Options based on last used settings
Posted: Thu Dec 06, 2018 5:59 am
Is there an easy way to retrieve the last used Watermark paramerters and assign it to the Options to create a new watermark?
Also a way to assign the Options to one of the Custom (Saved) Watermark Settings?
This is the function I was looking at using to add the watermarks.
https://sdkhelp.pdf-xchange.com/vi ... Watermarks
I can find the last used settings from the following
Dim oCab As CoAUX_Cab
Set oCab = AxPXV_Control1.Inst.Settings.Item("Operations.AddWatermark")
It returns a CoAUX_Cab object which I can then iterate through the values and set them to the ICabNode values that the Options needs but it seams like there should be an easier way.
Dim oOptions As PDFXEditCtl.ICabNode
Set oOptions = Op.Params.Root("Options")
Also a way to assign the Options to one of the Custom (Saved) Watermark Settings?
This is the function I was looking at using to add the watermarks.
https://sdkhelp.pdf-xchange.com/vi ... Watermarks
I can find the last used settings from the following
Dim oCab As CoAUX_Cab
Set oCab = AxPXV_Control1.Inst.Settings.Item("Operations.AddWatermark")
It returns a CoAUX_Cab object which I can then iterate through the values and set them to the ICabNode values that the Options needs but it seams like there should be an easier way.
Dim oOptions As PDFXEditCtl.ICabNode
Set oOptions = Op.Params.Root("Options")