Hi..Telerik Team
I am facing problem when add photo album viewer element inside my project. If i am running example from telerik there is no error but when i export into my project there is pop up few error.
I had attach some ss from my project. Appreciate your help to solve my problem.
8 Answers, 1 is accepted
Thank you for writing.
The AnimatedPropertySetting expects one more parameter determining the start value. Could you please modify the animation settings in the AnimateSelectedItem method this way:
Private
Sub
AnimateSelectedItem(
ByVal
zoomIn
As
Boolean
)
'...
Dim
setting1
As
New
AnimatedPropertySetting(RadElement.BoundsProperty,
Nothing
,
New
Rectangle(zoomedItemLocation, OriginalItemSize), numFrames, frameInterval)
Dim
setting2
As
New
AnimatedPropertySetting(RadElement.ScaleTransformProperty,
Nothing
,
New
SizeF(itemZoomFactor, itemZoomFactor), numFrames, frameInterval)
Dim
setting3
As
New
AnimatedPropertySetting(RadElement.AngleTransformProperty,
Nothing
, 0.0F, 12, frameInterval)
'...
End
Sub
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo Merdjanov
Telerik
Hi...Hristo Merdjanov
Thx for your feedback. After do changes for the animation settings. Error not appear anymore. But when i am load a form. Error_2.jpg still exist. Is it possible causes by framework version?
Hi...Hristo Merdjanov
Please ignore my previous mail. Your advise suppose solve my problem. I try to rebuild a form and try again. Anyway thank you. I will mark the ticket as solved. Any further issue will write back.
Thank you for writing back.
I am glad that the suggested solution fixed your issue.
Please let me know if I can assist you any further.
Regards,
Hristo Merdjanov
Telerik
i use your windows form product for c# application.
i use PhotoAlbum Viewer , its work good with image that have low dimension like 800*600 or 1500*500 , but when i try to add image like 3500*2350 image not showing well and it look image gone from my screen. can you tell me some advice to fix this issue?
tnx
best regards
Thank you for writing.
I am assuming you are using the following code library project: http://www.telerik.com/support/code-library/photoalbum-demo-application. Please note that images so big may lead to some undesired results. for example, the animations will be slowed down significantly. If it could fit your local setup, please try resizing them before the display in the custom control.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Hi Hristo , thanks for reply.
ok , one more question, if we use same portrait and landscape pictures at same time , it cause problem again, how can we fixed this?
Thank you for writing back.
If you use images with low dimensions, e.g. 800*600 it is not supposed to experience any undesired result with the images display or the animation effect performance. However, if you increase the images' size it may affect the animation and look of the images. If you are experiencing any further difficulties, it would be greatly appreciated if you can provide a video demonstrating the exact undesired result that you are facing. It would be better if you submit a support ticket attaching a sample project. This would be the fastest way to investigate the precise case and assist you further.
I am looking forward to your reply.
Regards,
Dess
Progress Telerik