共用方式為


ControlExtensions.AddDataGridView Method

Include Protected Members
Include Inherited Members

Adds a new DataGridView control to the document.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member AddDataGridView(ControlCollection, Range, Single, Single, String) Adds a new DataGridView control to the document in the specified size and location.
Public methodStatic member AddDataGridView(ControlCollection, Single, Single, Single, Single, String) Adds a new DataGridView control to the document in the specified size and location.

Top

See Also

Reference

ControlExtensions Class

Microsoft.Office.Tools.Word Namespace