CopyFormat
Copy object format into Clipboard. Format from clipboard maybe saved to theme file.
BOOL CopyFormat( DWORD dwPropertiesFilter = FPB_ALL, DWORD dwObjFilter = FOB_ALL, DWORD dwPropertiesFilterEx = FPBEX_ALL, DWORD dwObjFilterEx = FOB2_ALL, vector<int> * piaErrors = NULL, vector<string> * psaErrors = NULL )
EX1
// Create two scatter plots and modify one. With one plot active, run the example code. // Activate the second plot, right-click on it and choose Paste Format void OriginObject_CopyFormat_Ex1() { Page pg = Project.Pages(); pg.CopyFormat(); // Copy All }
OriginObject::ApplyFormat OriginObject::GetFormat
origin.h