摘要:
以下是下安装tcl/tk的安装步骤:step1 下载和安装Tcl/Tk:Tcl/Tk是跨平台的语言,多个系统下都可以使用。FOR LINUXstep1:下载tcl和tk的安装文件http://www.tcl.tk/software/tcltk/download.htmlstep2:安装tcltar ... 阅读全文
摘要:
#!/usr/bin/perl#get scripts name#print $0 . "\n";#get the parametersmy $argc = $#ARGV+1;my $src_file;my $dst_file;#print "$argc\n";if($argc == 2) { ... 阅读全文
摘要:
Option ExplicitPrivate Function add()On Error GoTo ErrHandlerDim filePath As String, fileName As String filePath = Application.ActiveDocument.Path f... 阅读全文
摘要:
Cell Object MembersHolds a formula that evaluates to some value.MethodsNameDescriptionGlueToGlues one shape to another, from a cell in the first shape... 阅读全文
摘要:
Shape Object MembersRepresents anything you can select in a drawing window: a basic shape, a group, a guide, or an object from another application emb... 阅读全文
摘要:
Application Object MembersRepresents an instance of Microsoft Office Visio. An external program typically creates or retrieves an Application object b... 阅读全文
摘要:
例:VBA获取shape positionPublic Sub LocationTable() 'This routine will create a text file of the location and size of all 2-d shapes ' on the curr... 阅读全文
摘要:
显示当前page size:Application.ActiveDocument.NameApplication.ActiveDocument.PaperSizeApplication.ActiveDocument.PaperHeight("inches")Application.ActiveDoc... 阅读全文
摘要:
Section or rowCellSection indexRow indexCell index1HelpTopicCopyright2visSectionObjectvisRowHelpCopyrightvisObjHelpvisCopyright1-D Endpointssection3Be... 阅读全文
摘要:
其实Visio中的每个shape(包括你画的图形,线条等等),后台都有一个表来记录所有的属性,这个表我们叫做ShapeSheet.VBA编程中,你可能需要获取shape属性,其实也可以在这里参考:Open a Visio diagram containing a shape that you wan... 阅读全文