How do you print out sub-areas of a picture (a curve window, for example)?
There is a curve window, for instance, in your picture, and you wish to make a hard copy of this window. In order to make a hard copy, you need to know the coordinates and size of your window. You can then activate the hard copy via a button, as follows:
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
WinExec("PrtScr.exe /C= \"20;10;800;400\"",SW_SHOWNORMAL);
The figures in the order "PositionX;PositionY;Width;Height" correspond to the coordinates of the top-left corner and to the size of the window.
If you insert the parameter "-nomcp", the area to be printed is no longer taken into account.
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry