can i use the addline method like this ?

Last post 10-07-2011, 8:37 PM by mshakeel.faiz. 2 replies.
Sort Posts: Previous Next
  •  10-06-2011, 8:01 PM 334390

    can i use the addline method like this ? .NET

    Attachment: Present (inaccessible)

    how can i use the addline method like yellow in C# ?

    not like this
    worksheet.Shapes.AddLine(4, 0, 3, 0, 10, 50);

    like this

    AddLine(StartP.X, _StartP.Y, _EndP.X, _EndP.Y)

    i have to make a graph like this file ( not use rotation)

    VBSCRIPT(not aspose)

    For iX = 1 To iColNumber
        iNextX = iX
        iNextY = iColNumber - (iX - 1)
        Set rTarget = rTable.Cells(iNextY, iNextX)
        StartP = GetStartPoint(rTarget)
        EndP = GetEndPoint(rTarget)
        With Me.Shapes.AddLine(StartP.X, _StartP.Y, _EndP.X, _EndP.Y)

     
  •  10-07-2011, 1:02 AM 334417 in reply to 334390

    Re: can i use the addline method like this ?

    Hi,

    You might be able to add such a line. I have requested the development team to provide a code sample how to achieve your desired results and logged this issue in our database.

    Once, we get some update, we will let you know.

    This issue has been logged as CELLSNET-31172 .

    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  10-07-2011, 8:37 PM 334589 in reply to 334390

    Re: can i use the addline method like this ?

    Hi,

    Please try ShapeCollection.AddFreeFloatingShape(MsoDrawingType type, int top, int left, int height, int width, byte[] imageData, bool isOriginalSize)

     



    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML