in the progress of my implementation of the Pdf Editor SDK you supplied me with some code in order to colourise annotation tools:
Code: Select all
int toolId = pdfCtl.Inst.Str2ID(toolIdName);
ICabNode styleParams = pdfCtl.Inst.CommentStylesManager.GetCurrentStyle(toolId);
if (styleParams == null)
{
return;
}
styleParams["SC"].v = $"rgbd({red}, {green}, {blue})";
pdfCtl.Inst.CommentStylesManager.OnChangedCurrentStyle(toolId);
toolIdName: tool.annot.square
red: "24"
green: "40"
blue: "231"
Result view: tools_blue.zip
Unfortunately, I was not able to figure out the correct toolIds of the tools shown in attachment "tool_not_colourised.zip".
Could you tell me the correct Id names of these specific annotation tools, please?
Martin