PrintDocumentInfo.Builder.SetContentType(PrintContentType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定內容類型。
[Android.Runtime.Register("setContentType", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")]
public Android.Print.PrintDocumentInfo.Builder SetContentType(Android.Print.PrintContentType type);
[<Android.Runtime.Register("setContentType", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")>]
member this.SetContentType : Android.Print.PrintContentType -> Android.Print.PrintDocumentInfo.Builder
參數
- type
- PrintContentType
內容類型。 價值屬於以下之一:PrintDocumentInfo.CONTENT_TYPE_UNKNOWN;PrintDocumentInfo.CONTENT_TYPE_DOCUMENT;PrintDocumentInfo.CONTENT_TYPE_PHOTO
傳回
這個建築商。 這個值不可能為零值。
- 屬性
備註
設定內容類型。
預設值:PrintDocumentInfo.CONTENT_TYPE_DOCUMENT
Android 參考資料。android.print.PrintDocumentInfo.Builder.setContentType
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。