⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getmastername.txt

📁 自动化控制visio
💻 TXT
字号:
// Gets a shape's master name
function  getMasterName(shape: Visio_TLB.Shape): widestring;

function getMasterName(shape: Visio_TLB.Shape): widestring;
var
  startPos: integer;
begin
  try
    result := shape.Master.Name;
  except
    result := shape.Name;
  end;
  startPos := pos('.', result);
  if (startPos > 0) then
    result := leftStr(result, startPos-1);
end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -