Plate.InUse プロパティ (Publisher)

(プレートで表される) 指定したインクが文書内で使用する場合は True を返します。 読み取り専用の Boolean です。

構文

InUse

Plate オブジェクトを表す変数。

戻り値

Boolean

注釈

This property corresponds to the In Use or Not In Use notation listed by each ink on the Ink tab of the Color Printing dialog box.

次の使用例は、作業中の文書のプレート コレクション内をループし、文書に使用されていないインクを表すプレートを調べて削除します。

Sub DeleteUnusedInks() 
 
Dim intCount As Integer 
 
With ActiveDocument.Plates 
 For intCount = .Count To 1 Step -1 
 With .Item(intCount) 
 If .InUse = False Then 
 Debug.Print "Name: " & .Name 
 .Delete 
 End If 
 End With 
 Next 
End With 
 
End Sub

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。