TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
bool ChartScreenShot ( long  chart_id,
string  filename,
int  width,
int  height,
int  align_mode = CSharpProgram.ALIGN_RIGHT 
)

Saves current chart screen shot as a file

Parameters
chart_idChart ID. 0 means the current chart
filenameScreenshot file name
widthScreenshot width in pixels
heightScreenshot height in pixels
align_modeOutput mode of a narrow screenshot. ALIGN_RIGHT means align to the right margin (the output from the end). ALIGN_LEFT means Left justify
Returns
If you need to take a screenshot from a chart from a certain position, first it's necessary to position the graph using the ChartNavigate() function.
If the horizontal size of the screenshot is smaller than the chart window, either the right part of the chart window, or its left part is output,
depending on the align_mode settings