Excel for UWP/WinRT
TwipsToPixels メソッド

ツイップ単位の測定値。
ツイップ単位の測定値を画面ピクセル単位に変換します。
構文
'宣言
 
Public Shared Function TwipsToPixels( _
   ByVal twip As System.Double _
) As System.Integer
public static System.int TwipsToPixels( 
   System.double twip
)

パラメータ

twip
ツイップ単位の測定値。

戻り値の型

画面ピクセル単位の測定値。
解説

Excel は、測定値を解像度に依存しないツイップ(1ポイントの 1/20)という単位で格納します。一方、.NET コントロールは、通常、測定値をピクセル単位で表します。このメソッドを使用すると、現在の画面解像度を使用して、ピクセル単位の測定値をツイップ単位に簡単に変換できます。

PixelsToTwips

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

C1XLBook クラス
C1XLBook メンバ

Send Feedback