Message 1 of 1
_ Wmfin does not overlap,Text boundary!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
static AcDbObjectId wmfoutIn(ads_name& ssname)
{
acedCommandS(RTSTR, L"_wmfout", RTSTR, L"E:\\temp_1.wmf", RTENAME, ssname, RTSTR, L"", RTNONE);
acedCommandS(RTSTR, L"_wmfin", RTSTR, L"E:\\temp_1.wmf", RTNONE);
acdbEntLast(ssname);
AcDbObjectId entId;
acdbGetObjectId(entId, ssname);
AcDbBlockReference* pBlk = NULL;
AcGePoint3d ptBase;
AcGeMatrix3d mat;
if (acdbOpenObject(pBlk, entId, AcDb::kForWrite) == Acad::eOk)
{
ptBase = pBlk->position();
mat.setToScaling(2.0, ptBase);
pBlk->transformBy(mat);
pBlk->close();
return entId;
}
return AcDbObjectId::kNull;
}