Minimum Origin Version Required: Origin 2017 SR0
Checks if worksheet has any kind of embedding, graph, note, image etc.
BOOL HasEmbedding( DWORD dwCntrl = WORKSHEET_HAS_EMBEDDING__DATA_CELL )
TRUE if worksheet has any kind of embedding, otherwise FALSE
EX1
void HasEmbedding_ex1() { Worksheet wks = Project.ActiveLayer(); if( wks && wks.HasEmbedding() ) out_str("wks has embedding"); }
origin.h