Product: ChemDraw
Is there an example of the "Save As" method in C# that can help show me how to save my ChemDraw structure as an Enhanced Metafile?
Please review the sample code below that has been tested in ChemDraw 12.0:
object path = "C:\\Users\\doberlin\\Desktop\\test.emf"; // path
object format = "image/x-emf"; // MIME format
object resolution = 72.0; // resolution in DPI (not applicable to EMF)
object width = 400.0; // width in points
object height = 400.0; // height in points
axChemDrawCtl1.SaveAs(
ref path,
ref format,
ref resolution,
ref width,
ref height);
Comments
0 comments
Article is closed for comments.