pinEdit .NET

pinEdit WP

pinEdit .NET


galastur 06-01-2010, 4:01
Hi,

I am trying to use pinEdit control in a WinForm. I have set the ModeToolbar to external.

I am able to open a file by:

pinEditWinFormControl1.File = FileName;

Now, what function shall I call to save this file as .htm???

Also, is there any samples of how to use this control in a WinForm? how to programmatically insert a table in the document ( or html), get the position of the cursor...

Thanks

Re: pinEdit .NET


galastur 06-01-2010, 5:00
I have found an example of how to add a table.

var sTableHtml = "<TABLE ID=myTable cellspacing=0 cellpadding=3>\n\n";
for (var r = 0; r \n";
for (var c = 0; c </TD>\n";
}
sTableHtml += "</TR>\n";
}
sTableHtml += "\n</TABLE>\n";
pinEditWinFormControl1.EditInsertHtml(sTableHtml);

Now, I want to insert some text in some of the cells...

I then retrieve the table as follows:

mshtml.HTMLDocument doc =pinEditWinFormControl1.Document;
var table = doc.getElementById("myTable");

Now how can I get a specific cell and insert some text into it?

Thanks

Re: pinEdit .NET


Pintexx Support 06-02-2010, 8:33
Hello,

you should specify the table with correct type like
mshtml.HtmlTable
Then you can access rows and columns properties.

Please refer to DOM documentation.

Regards,
Hans-Peter

Re: pinEdit .NET


dapatel 09-21-2011, 11:03
Hi,
 i am new to this forum...i am trying to use pinEdit .NET winforms....but not getting it properly..could u just help it...


security

Re: pinEdit .NET


galastur 09-21-2011, 7:37
sorry to say but don't expect much help from support in this forum.

I remember that when i downloaded pinedit it came with a sample project. I will be surprise if they suddenly decide to remove it. Have you checked it?

Re: pinEdit .NET


Pintexx Support 09-22-2011, 8:11
Hello,

we have some issues with the forum software.
Could you please contact support at support@pintexx.com?

Regards,
Hans-Peter