SetEmbeddingParams
Sets embedding parameters if there is an embedding at the cell identified by nRow, nCol and dwEmbedParams
BOOL SetEmbeddingParams( int nRow, int nCol, DWORD dwEmbedParams, BOOL bSet = TRUE, BOOL bColLabels = FALSE )
return TRUE if successful
EX1
//Sets embedding parameters if there is an embedding at the cell identified by nRow, nCol and dwEmbedParams. void Worksheet_SetEmbeddingParams_Ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; DWORD dwEmbedParams = EMBEDGRAPH_KEEP_ASPECT_RATIO; if(!wks.SetEmbeddingParams(0, 0, dwEmbedParams)) printf("Failed to set embedded params"); }
Worksheet::GetEmbeddingParams
origin.h