'get_CellsSRC' from a shape

J

jes

Hi,

i get the following error
Message "Public member 'get_CellsSRC' on type 'ShapeClass' not found." String

cellPinX = VisioShapeObject.get_CellsSRC(VisSectionIndices.visSectionObject, _
VisRowIndices.visRowXFormOut, _
VisCellIndices.visXFormPinX)
cellPinX.set_Result("m", x)

how can i use get_CellsSRC & set_Result

thank
 
D

Diver@home

Hi,

i get the following error
Message "Public member 'get_CellsSRC' on type 'ShapeClass' not found." String

cellPinX = VisioShapeObject.get_CellsSRC(VisSectionIndices.visSectionObject, _
VisRowIndices.visRowXFormOut, _
VisCellIndices.visXFormPinX)
cellPinX.set_Result("m", x)

how can i use get_CellsSRC & set_Result

thank

In C++;
======================================================
vsoShape = this->dropMasterOnPage(m_vsoPage,
MASTER_PROCESS,
STENCIL_FLOWCHART, rPinX, rPinY);
if (vsoShape == NULL)
return false;
(now that you have the shape pointer .....)

vsoCell = vsoShape->GetCellsSRC(

Visio::visSectionObject,Visio::visRowXFormOut,Visio::visXFormHeight);
(now you have the cell pointer)

vsoCell->put_Result(_variant_t((short)Visio::visDrawingUnits),
(m_processHeight*nLines)+(m_processHeight*3));
(This sets the cell value)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top