Options.SnapToGrid = True Documents.Add 次の使用例は、[ グリッドに合わせる] ダイアログ ボックスの [ グリッドへ配置] の状態を取得します。 VB コピー Temp = Options.SnapToGrid 関連項目 オプション オブジェクト サポートとフィードバック Office VBA またはこの説明書に関する...
Snap objects to grid when the gridlines are not displayed Positions an object to the closest intersection of the grid even when the grid is not visible. Snap objects to other objects Make an object align with other objects as you're dragging it onscree...
ActiveDocument.SnapToGrid = True 本示例设置 Word,使新文档的自选图形自动与不可见的网格线对齐。 Options.SnapToGrid = True Documents.Add 本示例返回“对齐网格”对话框中的“对象与网格对齐”选项的状态(“绘图”工具栏上的“绘图”菜单中的“对齐网格”命令)。
定义SnapToGrid 类。 此类在 Office 2007 及更高版本中可用。 当对象序列化为 xml 时,其限定名称为 w:snapToGrid。
Holding down the SHIFT key while drawing a line produces straight horizontal or vertical lines. Holding down the ALT key while drawing a line prevents the line from snapping to the grid and allows exact line placement. To turn off the snap-to-grid feature, click ...
SnapToGrid 确定在指定文档中绘制、移动或调整其大小时,自选图形或东亚字符是否自动与不可见网格对齐。 (继承自 _Document) SnapToShapes 确定Microsoft Word是否自动将自选图形或东亚字符与不可见网格线对齐,这些网格线穿过指定文档中其他自选图形或东亚字符的垂直和水平边缘。 (继承自 _Document) SpellingChecked...
wdDialogDrawSnapToGrid SnapToGrid、 XGrid、 YGrid、 XOrigin、 YOrigin、 SnapToShapes、 XGridDisplay、 YGridDisplay、 FollowMargins、 ViewGridLines、 DefineLineBasedOnGrid wdDialogEditAutoText Name、 CoNtext、 InsertAs、 Insert、 Add、 Define、 InsertAsText、 Delete、 CompleteAT wdDialogEditCreate...
DoNotSnapToGridInCell 类 参考 反馈 定义 命名空间: DocumentFormat.OpenXml.Wordprocessing 程序集: DocumentFormat.OpenXml.dll 包: DocumentFormat.OpenXml v2.8.1 不要与带有对象的表格单元格中的文档网格对齐。 此类在 Office 2007 及更高版本中提供。 当对象序列化为 xml 时,其限定名称为 w...
SnapToShapes Determines if Microsoft Word automatically aligns AutoShapes or East Asian characters with invisible gridlines that go through the vertical and horizontal edges of other AutoShapes or East Asian characters in the specified document. (Inherited from _Document) SpellingChecked Determines ...
Gets or sets a value that indicates whether AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in the document. C# 复制 public bool SnapToGrid { get; set; } Property Value Boolean true if AutoShapes or East Asian ...