How can I automatically maximize my chart for making a screenshot ?

 

I've been looking in the chart functions and I know that I can change the pixel size height and width, but I can't find the command to maximize the chart .

Can somebody help me out ?

Thx a lot !!

 
Daniel Weckhuyzen:

I've been looking in the chart functions and I know that I can change the pixel size height and width, but I can't the command to maximize the chart .

Can somebody help me out ?

Thx a lot !!

no built-in funcction...simulate F11 keydown, use PostMessageW windows API, WM_KEYDOWN message with constant VK_11 (0x7A) as one of params
Reason: