|
|
pinEdit WP
Started by mocasu at 06-14-2010 11:20 . Topic has 5 replies.
 
 
|
|
Sort Posts:
|
|
|
|
06-14-2010, 11:20
|
mocasu
Joined on 06-14-2010
Posts 3
|
pinEdit does not display document until window is resize
|
|
|
|
|
I am using pinEdit inside a WPF app.
I am having some problems loading a document. The document does not display until the window is resized.
This is the code:
WPF.App:
private void LoadDocument(string path) { Editor.PinEdit editor = new Editor.PinEdit(); editor.CreateControl(); editor.DocumentPath = path; WindowsFormsHost host = new WindowsFormsHost(); host.Child = editor; StackPanelStory.Children.Add(host); }
Editor.PinEdit:
private void pinEditWinFormControl1_Ready(object sender) { pinEditWinFormControl1.File = _documentPath; }
Can anyone tell me what I am doing wrong, please ?
Thanks
|
|
|
|
|
Report
|
|
|
|
06-14-2010, 8:04
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
Re: pinEdit does not display document until window is resize
|
|
|
|
|
Hello,
could you please make sure that you have downloaded the latest evaluation ?
Which version number is pinEdit DLL ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
06-15-2010, 8:22
|
mocasu
Joined on 06-14-2010
Posts 3
|
Re: pinEdit does not display document until window is resize
|
|
|
|
|
Hi,
pinEditNet.dll version 7.2.0.720
We have just purchased it two days ago.
Thanks
|
|
|
|
|
Report
|
|
|
|
06-16-2010, 2:51
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
Re: pinEdit does not display document until window is resize
|
|
|
|
|
Hello,
that is strange.
Could you please download the evaluation again and replace the DLL and the "editor" folder ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
06-16-2010, 9:04
|
mocasu
Joined on 06-14-2010
Posts 3
|
Re: pinEdit does not display document until window is resize
|
|
|
|
|
|
Normal
0
false
false
false
EN-GB
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
Replacing dll and editor folder does not solve the problem.
It seems that there is a bug. After playing with it for while I found out that
if I changed the dock property to None (had it as Fill) then the control was
being "partially" displayed. So my workaround is to set the dock to
fill in the ready event.
private void
pinEditWinFormControl1_Ready(object sender)
{
pinEditWinFormControl1.File = _documentPath;
pinEditWinFormControl1.Dock = DockStyle.Fill;
doc =
pinEditWinFormControl1.Document as IHTMLDocument2;
}
I am now trying to set up the spell function. I have entered the key for it but
I still get the "thanks you for using pinEditSpell evaluation!"
Is there anywhere where you explain what .Spell() .SpellClear() and
.SpellRun() actually do? Having same samples will be a plus!
What I want to do is...start with spell checker off. If the users presses the
spell button then bad written words would be highlighted, and as the user types
now words will be "immediately" (based on SpellDelay) highlighted
too. If the user wants to turn it off then all highlighting will disappear.
So I was calling pinEditWinFormControl1.Spell(); and pinEditWinFormControl1.SpellClear();
respectevely but the outcome was not as expected. Thanks
|
|
|
|
|
Report
|
|
|
|
06-22-2010, 8:41
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
Re: pinEdit does not display document until window is resize
|
|
|
|
|
Hello,
there is a key for pinEdit and a key for pinSpell. Please check if you are using the correct key.
The spell functions are currently implemented directly by using toolbar spell button. When activating the spell button then spelling is executed.
Or you can use SpellRun(true) to start the spell checker and SpellRun(false) to stop.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
|
|