Hello,
Transparent textboxes stopped working in Aspose.Cells 8.9.1. Please, fix or advice the way to do it now.
Shape textbox = worksheet.Shapes.AddTextBox
…
textbox.IsFilled = false;
OK. Not filled. Border present.
textbox.HasLine = false;
textbox.IsFilled = false;
Fail. No border. Filled with blue.
I can also see the way to do it via
textbox.Format.Fill.FillType = FillType.None;
textbox.Format.Line.FillType = FillType.None;
however, no combination worked for me.
Even the following code resulted in the blue object with the red border.
textbox.Format.Line.FillType = FillType.Solid;
textbox.Format.Line.SolidFill.Color = System.Drawing.Color.Red;
textbox.Fill.FillType = FillType.Solid;
textbox.Fill.SolidFill.Color = System.Drawing.Color.Yellow;
In addition, 2 properties we used are marked as obsolete now, with confusing comments.
Aspose.Cells.Drawing.Shape
[Obsolete(“Use Shape.Format.Outline property instead.”)]
public MsoLineFormat LineFormat { get; }
There is no Shape.Format.Outline
[Obsolete(“Use Shape.Format.FillFormat property instead.”)]
public MsoFillFormat FillFormat { get; }
There is no Shape.Format.FillFormat
I guess it should be Use Fill and Line.
Regards,
Alex
alex-rkn:
Transparent textboxes stopped working in Aspose.Cells 8.9.1. Please, fix or advice the way to do it now.
Shape textbox = worksheet.Shapes.AddTextBox
...
textbox.IsFilled = false;
OK. Not filled. Border present.
textbox.HasLine = false;
textbox.IsFilled = false;
Fail. No border. Filled with blue.
I can also see the way to do it via
textbox.Format.Fill.FillType = FillType.None;
textbox.Format.Line.FillType = FillType.None;
however, no combination worked for me.
alex-rkn:
Even the following code resulted in the blue object with the red border.
textbox.Format.Line.FillType = FillType.Solid;
textbox.Format.Line.SolidFill.Color = System.Drawing.Color.Red;
textbox.Fill.FillType = FillType.Solid;
textbox.Fill.SolidFill.Color = System.Drawing.Color.Yellow;
alex-rkn:
In addition, 2 properties we used are marked as obsolete now, with confusing comments.
Aspose.Cells.Drawing.Shape
[Obsolete("Use Shape.Format.Outline property instead.")]
public MsoLineFormat LineFormat { get; }
There is no Shape.Format.Outline
[Obsolete("Use Shape.Format.FillFormat property instead.")]
public MsoFillFormat FillFormat { get; }
There is no Shape.Format.FillFormat
I guess it should be Use Fill and Line.
Hi,
Thanks for using Aspose.Cells.
This is to inform you that we have fixed your issue CELLSNET-44671 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
In addition, 2 properties we used are marked as obsolete now, with confusing comments.
Aspose.Cells.Drawing.Shape
[Obsolete(“Use Shape.Format.Outline property instead.”)]
public MsoLineFormat LineFormat { get; }
There is no Shape.Format.Outline
[Obsolete(“Use Shape.Format.FillFormat property instead.”)]
public MsoFillFormat FillFormat { get; }
There is no Shape.Format.FillFormat
I guess it should be Use Fill and Line.
It’s very simple. Just use those properties in any way:
Shape shape = null;There would be warnings
object o1 = shape.LineFormat;
object o2 = shape.FillFormat;
warning CS0618: ‘Shape.LineFormat’ is obsolete: 'Use Shape.Format.Outline property instead.'
warning CS0618: ‘Shape.FillFormat’ is obsolete: 'Use Shape.Format.FillFormat property instead.'
And there is no
Shape.Format.Outline
Shape.Format.FillFormat
No impact on our product. I’ve just reported misleading warnings.
Hi Alex,
Hi,
Thanks for using Aspose.Cells.
This is to inform you that we have fixed your issue CELLSNET-44672 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
The issues you have found earlier (filed as CELLSNET-44671;CELLSNET-44674) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan