共用方式為


SPFont.Open method (SPFile, Boolean)

從指定的 SPFile 開啟 SPFont 檔案物件

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function Open ( _
    file As SPFile, _
    readPublishedVersion As Boolean _
) As SPFont
'用途
Dim file As SPFile
Dim readPublishedVersion As Boolean
Dim returnValue As SPFont

returnValue = SPFont.Open(file, readPublishedVersion)
public static SPFont Open(
    SPFile file,
    bool readPublishedVersion
)

參數

傳回值

Type: Microsoft.SharePoint.Utilities.SPFont
SPFont 物件

請參閱

參照

SPFont class

SPFont members

Open overload

Microsoft.SharePoint.Utilities namespace