Access) (Form.PrtMip 屬性

使用 Visual Basic 中的 PrtMip 屬性,設定或傳回在 [列印 ] 對話方塊中為表單或報表指定的裝置模式資訊。

語法

運算式。PrtMip

expression 代表 Form 物件的變數。

註解

PrtMip 屬性設定會對應至表單或報表中 [ 版面設定 ] 對話方塊的 [ 邊界 ] 索引標籤上的設定值的 28 位元組結構。

PrtMip 屬性有下列成員。

成員 描述
LeftMargin、RightMargin、TopMargin、BottomMargin [ 長 ],指定頁面邊緣與要列印之項目之間的距離,單位 為 twips。
DataOnly 指定列印元素的 Long 值。 如果為 True,則只會列印資料工作表檢視、表單或報表中的資料表或查詢中的資料,並隱藏標籤、控制項框線、格線,以及線條和方塊等顯示圖形。 當為 False 時,則會列印資料、標籤及圖形。
ItemsAcross A Long that specifies the number of columns across for multiple-column reports or labels. This member is equivalent to the value of the Number of Columns box under Grid Settings on the Columns tab of the Page Setup dialog box.
RowSpacing 指定詳細資料區段間的水平空間的 Long 值,以點的 1/20 為單位。
ColumnSpacing 指定詳細資料區段間的垂直空間的 Long 值,以 Twip 為單位。
DefaultSize Long 值。 當為 True 時,會使用在設計檢視中詳細資料區段的大小。 當為 False 時,則使用 ItemSizeWidth 和 ItemSizeHeight 成員所指定的值。
ItemSizeWidth A Long that specifies the width of the detail section in twips. This member is equivalent to the value of the Width box under Column Size on the Columns tab of the Page Setup dialog box.
ItemSizeHeight Long ,以 twips 為單位指定詳細區段的高度。 This member is equivalent to the value of the Height box under Column Size on the Columns tab of the Page Setup dialog box.
ItemLayout A Long that specifies horizontal (1953) or vertical (1954) layout of columns. This member is equivalent to Across, then Down or Down, then Across respectively under Column Layout on the Columns tab of the Page Setup dialog box.
FastPrint 保留。
Datasheet 保留。

PrtMip 屬性設定為可讀寫在設計檢視中以唯讀方式在其他檢視中。

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。