I am using Aspose.PDF v19.1.0.0 for .NET. I am trying to create a RadioButtonOptionField with a border that has a specific Border.Style and Border.Width. I can create the field. I can create an Aspose.Pdf.Annotations.Border object for the field’s border. When I try to set the value for any property of the Border object, I get an error message “Object reference not set to an instance of an object.” I can see that the following properties are returning a System.NotImplementedException error:
- HCornerRadius
- VCornerRadius
- VCornerRaduis
The API reference indicates that these properties can be get and set.
Here is a snippet of my code:
Aspose.Pdf.Annotations.Border newBorder = new
Aspose.Pdf.Annotations.Border(newOption);
newBorder.Dash = sourceRBO.Border.Dash;
newBorder.Effect = sourceRBO.Border.Effect;
newBorder.EffectIntensity = sourceRBO.Border.EffectIntensity;
newBorder.Style = sourceRBO.Border.Style;
newBorder.Width = sourceRBO.Border.Width;
Is there a bug in this Aspose.PDF functionality? If so, is there a workaround?
Am I setting the Border incorrectly? If so, please advise how to do it properly.