Hi All,
I am using Latest Version of Actipro.
I want to develop Tab Preview kind functionality like IE 7.Means as many tabs or document window are open we can see opened document's preview in one of tab.
So for that I want to Layout Transform of DocumentWindow.
My Code is below
DocumentWindow _doc = (DocumentWindow)Activator.CreateInstance(DocumentWindow1.GetType());
_doc.LayoutTransform.SetValue(ScaleTransform.ScaleXProperty, 0.5);
_doc.LayoutTransform.SetValue(ScaleTransform.ScaleYProperty, 0.5);
but I am getting this error
"Cannot set a property on object 'Identity' because it is in a read-only state."
so any one have idea how to develop this functionality ?
or resolve this error ?
Thanks in advance,
I am using Latest Version of Actipro.
I want to develop Tab Preview kind functionality like IE 7.Means as many tabs or document window are open we can see opened document's preview in one of tab.
So for that I want to Layout Transform of DocumentWindow.
My Code is below
DocumentWindow _doc = (DocumentWindow)Activator.CreateInstance(DocumentWindow1.GetType());
_doc.LayoutTransform.SetValue(ScaleTransform.ScaleXProperty, 0.5);
_doc.LayoutTransform.SetValue(ScaleTransform.ScaleYProperty, 0.5);
but I am getting this error
"Cannot set a property on object 'Identity' because it is in a read-only state."
so any one have idea how to develop this functionality ?
or resolve this error ?
Thanks in advance,