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
Aisha Srivastava
NA
230
28.5k
Error Can't convrt strng to systm.collectn.generic.dictnry<>
May 13 2015 5:28 AM
Error Can't convrt string to system.collection.generic.dictionary<string,string>
c
ode:
HtmlElement paragraph = this.editorWebBrowser.Document.GetElementById(paragraphId);
Dictionary<string, string> styleDictionary = GetStyleDictionary(paragraph.Style);
string currentMargin = paragraph.Style.ToString();
currentMargin = Regex.Match(currentMargin, @"-?\d+").Value;
int numericMargin = Int32.Parse(currentMargin);
styleDictionary = (numericMargin + 15).ToString() + "px";
******************************************************
Basically i have to add value to my existing style value by 15;
ie:
Margin-left:15px
then
get that style
and add 15 px more: Margin-left:30px so on...
Reply
Answers (
2
)
How to make online chatting in vb
general school application