Hi,
Recently we have got latest update for Aspose.Pdf .NET 18.6.0 and unfortunately have noticed a bunch of errors in code that worked and compiled perfectly with previous versions of Aspose.PDF up to 18.5.0.
error CS0426: The type name ‘SetLineWidth’ does not exist in the type ‘Operator’
error CS0426: The type name ‘SetRGBColorStroke’ does not exist in the type ‘Operator’
error CS0426: The type name ‘SetRGBColor’ does not exist in the type ‘Operator’
error CS0426: The type name ‘SetLineWidth’ does not exist in the type ‘Operator’
error CS0426: The type name ‘MoveTo’ does not exist in the type ‘Operator’
error CS0426: The type name ‘LineTo’ does not exist in the type ‘Operator’
error CS0426: The type name ‘FillStroke’ does not exist in the type ‘Operator’
…
We used that API for drawing annotations in PDF documents, e.g.:
annotation.Appearance[“N”].Contents.Add(new Operator.SetLineWidth(1.5));
annotation.Appearance[“N”].Contents.Add(new Operator.SetRGBColorStroke(color));
annotation.Appearance[“N”].Contents.Add(new Operator.SetRGBColor(color));
And it seems that now this API was eliminated. So can you please give me some workaround regarding this problem? Are there any other ways to to replace Operator calls in such case?