Bitmap for WPF
GetFileSize メソッド (FontFileStreamNative)

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFileStreamNative クラス : GetFileSize メソッド
Obtains the total size of a file.
シンタックス
'宣言
 
Public Function GetFileSize() As System.Long
public System.long GetFileSize()

戻り値の型

the total size of the file.
解説
Implementing GetFileSize() for asynchronously loaded font files may require downloading the complete file contents. Therefore, this method should be used only for operations that either require a complete font file to be loaded (for example, copying a font file) or that need to make decisions based on the value of the file size (for example, validation against a persisted file size).
参照

FontFileStreamNative クラス
FontFileStreamNative メンバ