?
Solved

Save Load line in a canvas

Posted on 1998-06-16
2
Medium Priority
?
169 Views
Last Modified: 2006-11-17
How can I save/load my drawing. I have a program to draw chart but I would like to save the chart in a file
0
Comment
Question by:carlfortin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:carlfortin
ID: 1223286
Edited text of question
0
 
LVL 5

Accepted Solution

by:
msmolyak earned 100 total points
ID: 1223287
What exactly is your chart? Or rather what do you mean by saving the chart? If the chart is produced by the code in your class then you can always recreate it by using the same code. If the chart is a GIF file you can save it on disk by writing a file and then reading it back. If there is some data for a chart which a stored in some object you can serialize the object and then restore it. Or you can print a chart to a file (but then you won't be able to load it back).

Pick your choice.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question