Report.DrawStyle 屬性 (Access)Report.DrawStyle property (Access)

您可以使用 DrawStyle 屬性來指定行列印在報表上使用的 Circle 方法時的線條樣式。You can use the DrawStyle property to specify the line style when using the Line and Circle methods to print lines on reports. 可讀寫的 IntegerRead/write Integer.

語法Syntax

運算式DrawStyleexpression.DrawStyle

_運算式_代表**Report** 物件的變數。expression A variable that represents a Report object.

註解Remarks

DrawStyle 屬性使用下列設定值。The DrawStyle property uses the following settings.

設定Setting 描述Description
00 (預設值) 實線,內部透明(Default) Solid line, transparent interior
11 虛線,內部透明Dash, transparent interior
22 點,內部透明Dot, transparent interior
33 虛線-點,內部透明Dash-dot, transparent interior
44 虛線-點-點,內部透明Dash-dot-dot, transparent interior
55 隱藏線,內部透明Invisible line, transparent interior
66 隱藏線,內部不透明Invisible line, solid interior

注意

[!注意事項] 您可以在區段的 OnPrint 屬性設定所指定的事件程序中設定此屬性。You can set this property in an event procedure specified by a section's OnPrint property setting.

DrawStyle 屬性會產生如果 DrawWidth 屬性設為 1 上表中所述的結果。The DrawStyle property produces the results described in the preceding table if the DrawWidth property is set to 1. 如果 DrawWidth 屬性設定為大於 3、 DrawStyle 屬性設定為 1 到 4 產生 (不變更 DrawStyle 屬性值) 實線。If the DrawWidth property setting is greater than 3, the DrawStyle property settings 1 through 4 produce a solid line (the DrawStyle property value isn't changed).

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.