We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

GraphInfo missing properties like DashLengthInBlack- DashLengthInWhite etc

Hi,


New API for Graph info is missing many properties like
public float CornerRadius { get; set; }
public float DashLengthInBlack { get; set; }
public float DashLengthInWhite { get; set; }

How i can achieve these thing in new API.(Aspose.Pdf)

Regards,
Sandeep

Hi Sandeep,


Thanks for your inquiry. After initial investigation, we have logged an enhancement ticket as PDFNEWNET-36629 in our issue tracking system for further investigation and implementation. We will keep you updated about the issue resolution progress via this forum thread.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-36629) have been fixed in Aspose.Pdf for .NET 9.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

Hi Sandeep,


Thanks for your patience, As stated above your requested properties has been implemented in Aspose.Pdf for .NET 9.6.0. Please check following code snippet for the purpose.


string outFile =myDir + “36629.pdf”;<o:p></o:p>

Document doc = new
Document();<o:p></o:p>

Page page = doc.Pages.Add();<o:p></o:p>

Aspose.Pdf.Drawing.Graph
canvas = new Aspose.Pdf.Drawing.Graph(100, 400);<o:p></o:p>

Aspose.Pdf.Drawing.Rectangle
rect = new Aspose.Pdf.Drawing.Rectangle(10, 100, 200, 100);<o:p></o:p>

rect.GraphInfo.Color = Aspose.Pdf.Color.Red;<o:p></o:p>

rect.GraphInfo.DashArray = new
int[] { 3 };<o:p></o:p>

rect.GraphInfo.DashPhase = 1;<o:p></o:p>

rect.RadiusForRoundCorner = 10;<o:p></o:p>

canvas.Shapes.Add(rect);<o:p></o:p>

page.Paragraphs.Add(canvas);<o:p></o:p>

doc.Save(outFile1);<o:p></o:p>


Please feel free to contact us for any further assistance.


Best Regards,