TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ritika purwar
NA
0
21.8k
page break
Jan 29 2015 4:56 AM
private void InsertPagebreak()
{
{
IHTMLDocument2 htmldocument = editorWebBrowser.Document.DomDocument as IHTMLDocument2;
IHTMLSelectionObject currentSelection = htmldocument.selection;
if (currentSelection != null)
{
IHTMLTxtRange range = currentSelection.createRange() as IHTMLTxtRange;
if (range != null)
{
string newhtml = "<div style='page-break-after: always'><span style='display: none;'> </span></div><hr>";
newhtml += range.htmlText;
newhtml += " ";
range.pasteHTML(newhtml);
}
}
}
}
this is for insert page break... i want for delete page break...??
Reply
Answers (
0
)
Solid OOPS
how to copy a file using windows service in c#