15,891,423 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by hamid18 (Top 30 by date)
hamid18
23-Apr-20 9:13am
View
thanks a lot.
hamid18
6-Apr-19 17:25pm
View
Thanks for sharing the link. I know for zoom in I have to use ScaleTransform. e.g
ScaleTransform scaleTransform = new ScaleTransform(4, 1);
canvas.RenderTransform = scaleTransform;
canvas.Width = 60 * 4;
MyWidth = canvas.Width;
When I do this initial width is increased to 4 times and every point on canvas is multiplied by 4 along x axis. This means at position 28 along x axis, I will get 7th sample count value. Without zooming this point was present at position 7. Now 8th sample count will come at 32 position. But the vertical line will be drawn at position 30. And I want a discrete sample count value at position 30. I do not want any thing like 7.5 or 7.2 etc. Becaue sample count values are always discrete.
hamid18
21-Mar-19 13:07pm
View
This means when we use ScaleTransform and render transform on Canvas, even though the line becomes bigger in size in the view. Still the points on the line takes 1 pixel if I do not change the stroke thickness.
hamid18
15-Mar-19 9:36am
View
It worked smoothly. Thanks a lot :)
hamid18
6-Mar-19 11:24am
View
thanks. This looks simple and i hope this will work.
hamid18
23-Jan-19 13:45pm
View
still getting same output.
hamid18
19-Nov-18 8:12am
View
sorry.. i am trying to learn.. i do not post question without searching it on google. i am a newbie in programming. because of lack of experience sometimes i happens that i do not understand on the internet. i will be careful in future..
hamid18
15-Nov-18 9:02am
View
I am new to mvvm and wpf. So I am not sure whether we can use PointCollection in Viewmodel or not. Because in mvvm we cannot use any View Control.
hamid18
18-Oct-18 17:48pm
View
Thank you very much.
hamid18
18-Oct-18 4:39am
View
The graphs are dynamic and they are many in numbers. I am new in programming. So I will take your suggestion as a first step towards the solution.
Thanks.
hamid18
12-Jun-18 7:07am
View
thanks..
hamid18
12-Jun-18 7:06am
View
thanks. it worked for me.
hamid18
6-Jun-18 10:36am
View
thank you :)
hamid18
6-Jun-18 9:12am
View
thanks.
hamid18
6-Jun-18 9:12am
View
thank you. it worked for me
hamid18
4-Jun-18 3:30am
View
thanks.. i got it...
hamid18
1-Jun-18 11:15am
View
still i am not getting the required output.. its still the encoded output...
hamid18
1-Jun-18 10:11am
View
item is XCData.. so it is not converting item to byte array [] cdata..
hamid18
31-May-18 5:04am
View
this is a hard coded solution. Could you please suggest a generic approach to deal with with XML file. How to extract the second child contents generally. ?
hamid18
25-May-18 20:57pm
View
i would like to read xml files. the files will contain different signals. every signal has different properties e.g sampling period, length of the data, some meta data etc. i would like to work with C#.
hamid18
25-May-18 20:50pm
View
Yes I know google has the problem of every solution... I tried to learn xml myself by searching in the google. but it was difficult for me to grasp it. like schema, DOM etc. That's why I thought some experienced guy could recommend me some easy to understand link.
hamid18
9-May-18 5:25am
View
yeah you are right if line by line conversion is possible then I could have used a conversion tool.
hamid18
30-Apr-18 8:11am
View
Thanks for always helping me :)
hamid18
14-Apr-18 6:56am
View
Thanks :)
hamid18
13-Apr-18 6:32am
View
Hi,
I want to assign the first index value of byte array to int. Neither I am getting any compile error nor run time error. But I am not getting the required output. I have searched on the internet and I came to know that if we have 4 indexes then then we can convert them into int. But I only need 1st index to work with.
hamid18
10-Apr-18 5:29am
View
thank you...
hamid18
9-Apr-18 12:28pm
View
I want lossless compression. Because ulong takes a lot of memory. And I want to store in int which will take less memory. But at the same time I do not want to lose my signal data. In the end when I want to get back the original data I should be able to get back.
I cannot use the GZipStream.
hamid18
9-Apr-18 10:10am
View
Actually the Data property of every instance of signal contains values like 01000011111100000111000101. Here we have repetition of same numbers. We want to compact it. like we can make a map that
0 1
1 1
0 4
1 6
0 5
this shows that if we start from the first digit we have one 0s. Then we have one 1s. Then we have four 0s. In this way we are able to save the entire sequence of numbers in int data type. And in the end we can get back the original data using same map.
hamid18
9-Apr-18 8:05am
View
The data is repeated pattern of 0s and 1s. I do not want to save this repeated pattern of data. I want to make a map like the one which I have mentioned below. I know I cannot use dictionary here. As the key should be a unique one in the dictionary. I do not know any other data structure which does mapping. The way I want to do. Because in the end I will retrieve the original data from this mapping.
0 5
1 6
0 4
1 3
0 1
hamid18
9-Apr-18 3:35am
View
Thanks a lot Maciej.
Show More