Hi! Can I call flatshot with default parameters from command line оr .NET API? Without showing dialog
Solved! Go to Solution.
Solved by StephenPreston. Go to Solution.
Hi Andy,
the FLATSHOT command doesn't have a command line version (there is no -FLATSHOT variant of the command) and it still shows its dialog when the CMDDIA sysvar is set to 0. Therefore, i'm going to say that its not possible to silently invoke this command from the API. You could use Windows messages to send data to the dialog, but that is cumbersome at best. The only other option I see is to implement your own flattening routine that mimics FLATSHOT, but that is a lot of work.