【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.46.20 Worksheet::EmbedMatrix
Contents
Description
Attaches a matrix to worksheet cell
Syntax
BOOL EmbedMatrix( int nRow, int nCol, MatrixPage & mp, DWORD dwEmbedInfo = 0 )
Parameters
- nRow
- [input] row index of the cell where the matrix needs to be attached
- nCol
- [input] column index of the cell where the matrix needs to be attached
- mp
- [input] MatrixPage object that will be attached to the cell.
- dwEmbedInfo
- [input] can be one or more of the following:
- EMBEDGRAPH_IN_LABELS = 0x00000020, // Embeds in Label
- EMBEDGRAPH_DO_UNDO = 0x00000040, /// Allows undo of the attachment
Return
returns TRUE if successful
Examples
EX1
//Attach MBook1 to worksheet cell. void Worksheet_EmbedMatrix_Ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; MatrixPage mp("MBook1"); if(!mp) return; wks.EmbedMatrix(0, 0, mp); }
Remark
See Also
Worksheet::EmbeddedPages, Worksheet::EmbedGraph, Worksheet::EmbedNote
Header to Include
origin.h