View previous topic :: View next topic |
Author |
Message |
dkabq
Joined: 20 Nov 2017 Posts: 5
|
Posted: Mon Nov 20, 2017 5:06 pm Post subject: SetBackgroundImage Macro Command |
|
|
When I execute the following macro command
ret = DPlot_Command(DocNum, "[SetBackgroundImage(""d:\dplot_files\image.png"", 1, 1, 1, 255)]")
the image is not placed in the foreground. I know that Dplot is using the command, as the plot extents are being adjusted to fit the image size.
Also, if I open the Dplot file I can get the image (which is listed Filename box) to be in the foreground by checking the "foreground" box.
Thanks in advance for the help. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Mon Nov 20, 2017 5:34 pm Post subject: |
|
|
Use
[SetBackgroundImage(""filename"",1,1,0,0,0,0,1,255)]
If you're going to set the foreground or transparency, then left, top, right, bottom must be specified even though in this case they will not be used. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
dkabq
Joined: 20 Nov 2017 Posts: 5
|
Posted: Tue Nov 21, 2017 9:34 am Post subject: |
|
|
Doh!!!
Thanks for kindly pointing out what should have been obvious to me. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|