ab8f4cf98396243986728d8fadbe74dfa17cb6db
[scilab.git] / scilab / modules / graphic_export / help / en_US / xs2bmp.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA - Sylvestre Koumar
5  * 
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at    
10  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11  *
12  -->
13 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2bmp" xml:lang="en">
14     <refnamediv>
15         <refname>xs2bmp</refname>
16         <refpurpose>export graphics to BMP</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Calling Sequence</title>
20         <synopsis>
21             xs2bmp(win_num, file_name)
22             xs2bmp(fig, file_name)
23         </synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Arguments</title>
27         <variablelist>
28             <varlistentry>
29                 <term>win_num</term>
30                 <listitem>
31                     <para>an integer, id of the figure to export.</para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>fig</term>
36                 <listitem>
37                     <para>handle of the figure to export.</para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>file_name</term>
42                 <listitem>
43                     <para>a string, name of the exported file.</para>
44                 </listitem>
45             </varlistentry>
46         </variablelist>
47     </refsection>
48     <refsection>
49         <title>Description</title>
50         <para>
51             <function>xs2bmp</function> exports the display of a graphic window into a BMP file.
52         </para>
53     </refsection>
54     <refsection>
55         <title>Examples</title>
56         <programlisting role="example"><![CDATA[ 
57 scf(0)
58 plot2d()
59 //BMP export
60 xs2bmp(0,'foo.bmp');
61  ]]></programlisting>
62     </refsection>
63     <refsection role="see also">
64         <title>See Also</title>
65         <simplelist type="inline">
66             <member>
67                 <link linkend="toprint">toprint</link>
68             </member>
69             <member>
70                 <link linkend="printfigure">printfigure</link>
71             </member>
72             <member>
73                 <link linkend="xs2gif">xs2gif</link>
74             </member>
75             <member>
76                 <link linkend="xs2jpg">xs2jpg</link>
77             </member>
78             <member>
79                 <link linkend="xs2png">xs2png</link>
80             </member>
81             <member>
82                 <link linkend="xs2ppm">xs2ppm</link>
83             </member>
84             <member>
85                 <link linkend="xs2eps">xs2eps</link>
86             </member>
87             <member>
88                 <link linkend="xs2pdf">xs2pdf</link>
89             </member>
90             <member>
91                 <link linkend="xs2svg">xs2svg</link>
92             </member>
93             <member>
94                 <link linkend="xs2ps">xs2ps</link>
95             </member>
96             <member>
97                 <link linkend="xs2emf">xs2emf</link>
98             </member>
99         </simplelist>
100     </refsection>
101 </refentry>