I have observed your requirements. I regret to inform that it is not possible in Aspose.Slides yet. A ticket with ID SLIDESNET-39127 has been created as in our issue tracking system as a new feature request. Our development team will look into the possibility of implementation of the requested feature. This thread has been associated with this new feature request, so that you can be automatically notified as soon as this issue is resolved.
I like to inform that our product team investigated issue in details and i like to share their findings with you. I like to inform that IConnector.Adjustments can be used to change connectors position. I have also shared sample code in text file. This will help you to achieve your requirements. Please see attachment.
sample code.zip (635 Bytes)
Hi, thanks for your notice, I hope this resolve my issue.
I’m trying to use the Slides.AdjustValue Properties but i don’t understand what mean “rawvalue” and “anglevalue” and how use them.
I found only this documentation
I have observed your comments. I have shared sample code to understand rawvalue and anglevalue. This will help you to achieve your requirements.sample code.zip (391 Bytes)
Please share feedback with us if there is still an issue.
Hi, thanks but I cannot download sample file, the page respond “Sorry, this file is private. Only visible to topic owner and staff members.”.
Please post the code directly in the message.
I have observed your comments. Please check and share feedback with us if there is still an issue.
Presentation pres = new Presentation();
ISlide slide = pres.getSlides().get_Item(0);
IShapeCollection shapes = slide.getShapes();
IAutoShape shape = shapes.addAutoShape(ShapeType.CalloutWedgeRectangle, 20, 250, 300, 200, true);
I’m sorry but i don’t understand which values i need to set for achieve my result.
In a complex presentation with a lot of connector shape, for each connector with only one adjustment point, I add in the alternate text the angle value and raw value.
so I read same angles values for connectors in completlty different position, value of angle = 0,83xxx what means? 3,56xx? 253??
I have observed your comments. You want to use RawValues and these values differs for different types of shapes. For this shape, these values means length of sides for callout, currently this is very difficult to achieve. We have created a ticket with ID SLIDESJAVA-36645 in our issue tracking system to help you out in this issue. We will share good new with you soon. I request for your patience until further feedback is shared by our product team.
My target is create a kind of tree diagram, so there are a lot of connectors beetween shape.
I must to avoid overlappings of connectors to improve readability.
The biggest difficulty is that I do not know the position of the shapes and connectors, so reading their properties (such direction of the arrow, numbers of elbows, lenght ecc… ), I should easily understand the position and if a connector passes over to others and eventually, move it.
I want to share with you one example of my goal, I hope to help.overlapping_connectors.png (20.7 KB)
I like to inform that your information has been shared with our product team. We will share good new with you soon.
hi, any news?
I have observed your comments. I like to inform that the issue is pending owing to missing support in Aspose.Slides. The issue is blocked owing to missing implementation in Aspose.Slides for .NET. It will be first investigate and resolved in Aspose.Slides for .NET first and will then be ported to Aspose.Slides for Java. We will share good news with you soon.
hi, any news?
I regret to inform that issue is still unresolved. I requested our product to share details regarding this issue and try to resolve as soon as possible. I request for your patience until further feedback is shared by them.
Hi, any news???
Is there any chance of implementing the function?
I have verified from our issue tracking system and regret to share that at present the issue is blocked owing to missing implementation in Aspose.Slides for .NET. I have requested our product team to share further details in this regard and will share that with you as soon as they will be shared.
Hello,I want to know what is rawvalue and anglevalue too.But I can`t to see your sampl code.Can u help me?
I have observed your comments. I like to inform that IAdjustValue also has AngleValue property. This property "Returns or sets value, interpreting it as angle in degrees. Please check below calculation.
- RawValue == AngleValue*60000
- AngleValue == RawValue/60000
- AngleValue value interpreting as angle in degrees
Please check below sample code as well.
But I don`t know what is mean RawValue and AngleValue.I want to know how to connect two shapes by set this value.
IAutoShape iAutoShape = slides.get_Item(0).getShapes().addAutoShape(ShapeType.CalloutWedgeRectangle, 600f, 600f, 100f, 100f);
IAutoShape circle = slides.get_Item(0).getShapes().addAutoShape(ShapeType.Ellipse, 300f, 300f, 100f, 100f);
iAutoShape.getAdjustments().get_Item(0).setRawValue((long) ((circle.getX() - iAutoShape.getX()) PP_ADJUSTMENTS_FACTOR / iAutoShape.getWidth()));
iAutoShape.getAdjustments().get_Item(1).setRawValue((long) ((circle.getY() - iAutoShape.getY()) PP_ADJUSTMENTS_FACTOR / iAutoShape.getHeight()));
Do you know what I mean ? Thanks