SetBorderEffectIntensity
设置批注边框效果强度。 💡 可应用于圆形、方形、自由文本和多边形批注
继承自 ApiBaseAnnotation.SetBorderEffectIntensity。
示例
控制 PDF 中注释上边框效果的强度。
// How strong should a border effect appear on an annotation in a PDF?
// Adjust the intensity level of a visual effect applied to an annotation's border in a PDF.
let doc = Api.GetDocument();
let squareAnnot = Api.CreateSquareAnnot([10, 10, 160, 32]);
let page = doc.GetPage(0);
page.AddObject(squareAnnot);
squareAnnot.SetBorderEffectStyle("cloud");
squareAnnot.SetBorderEffectIntensity(1);