Minimum Origin Version Required: Origin 2016 SR0
Sets whether worksheet as holder sheet.
BOOL SetAsHolderSheet( BOOL bSet = TRUE )
Returns TRUE on successful exit and FALSE on error.
EX1
void SetAsHolderSheet_ex1() { //assum wks has inserted graph in first cell Worksheet wks = Project.ActiveLayer(); if( wks && wks.HasEmbedding() ) wks.SetAsHolderSheet(); }
Worksheet::IsHolderSheet
origin.h