- ChartID
- Mode
- Foreground
- Shift
- ShiftSize
- AutoScroll
- Scale
- ScaleFix
- ScaleFix_11
- FixedMax
- FixedMin
- PointsPerBar
- ScalePPB
- ShowOHLC
- ShowLineBid
- ShowLineAsk
- ShowLastLine
- ShowPeriodSep
- ShowGrid
- ShowVolumes
- ShowObjectDescr
- ShowDateScale
- ShowPriceScale
- ColorBackground
- ColorForeground
- ColorGrid
- ColorBarUp
- ColorBarDown
- ColorCandleBull
- ColorCandleBear
- ColorChartLine
- ColorVolumes
- ColorLineBid
- ColorLineAsk
- ColorLineLast
- ColorStopLevels
- VisibleBars
- WindowsTotal
- WindowIsVisible
- WindowHandle
- FirstVisibleBar
- WidthInBars
- WidthInPixels
- HeightInPixels
- PriceMin
- PriceMax
- Attach
- FirstChart
- NextChart
- Open
- Detach
- Close
- BringToTop
- EventObjectCreate
- EventObjectDelete
- IndicatorAdd
- IndicatorDelete
- IndicatorsTotal
- IndicatorName
- Navigate
- Symbol
- Period
- Redraw
- GetInteger
- SetInteger
- GetDouble
- SetDouble
- GetString
- SetString
- SetSymbolPeriod
- ApplyTemplate
- ScreenShot
- WindowOnDropped
- PriceOnDropped
- TimeOnDropped
- XOnDropped
- YOnDropped
- Save
- Load
- Type
ScreenShot
创建指定图表的截屏并将之保存为 .gif 文件。
bool ScreenShot(
|
参数
filename
[输入] 截屏文件名。
width
[输入] 截屏宽度, 单位像素。
height
[输入] 截屏高度, 单位像素。
align_mode=ALIGN_RIGHT
[输入] 若截屏太窄, 对齐模式。
返回值
true 如果成功, false 如果出错。