DioDocs for PDF
MeasureHtml(GcPdfGraphics,Uri,HtmlToPdfFormat,Int32,String,String) メソッド

DS.Documents.Html > GrapeCity.Documents.Pdf 名前空間 > GcPdfGraphicsExt クラス > MeasureHtml メソッド : MeasureHtml(GcPdfGraphics,Uri,HtmlToPdfFormat,Int32,String,String) メソッド
ターゲットの GcPdfGraphics オブジェクト。
ソース HTML ページを指定する URI。
書式設定属性。
ページが準備完了とみなされるまでの待機するミリ秒数。
Negotiate Auth サーバーのホワイトリスト (「*example.com」など)。
「https://proxy-ip:proxy-port」などのプロキシサーバー。
この GcPdfGraphics で描画されるために URI によって提供される HTML ページを測定します。
シンタックス
'宣言
 
Public Overloads Shared Function MeasureHtml( _
   ByVal graphics As GcPdfGraphics, _
   ByVal htmlUri As System.Uri, _
   ByVal format As HtmlToPdfFormat, _
   Optional ByVal virtualTimeBudget As System.Integer, _
   Optional ByVal authServerWhitelist As System.String, _
   Optional ByVal proxyServer As System.String _
) As System.Drawing.SizeF
public static System.Drawing.SizeF MeasureHtml( 
   GcPdfGraphics graphics,
   System.Uri htmlUri,
   HtmlToPdfFormat format,
   System.int virtualTimeBudget,
   System.string authServerWhitelist,
   System.string proxyServer
)

パラメータ

graphics
ターゲットの GcPdfGraphics オブジェクト。
htmlUri
ソース HTML ページを指定する URI。
format
書式設定属性。
virtualTimeBudget
ページが準備完了とみなされるまでの待機するミリ秒数。
authServerWhitelist
Negotiate Auth サーバーのホワイトリスト (「*example.com」など)。
proxyServer
「https://proxy-ip:proxy-port」などのプロキシサーバー。

戻り値の型

このグラフィックに描画される場合の HTML ブロックのサイズ。
参照

GcPdfGraphicsExt クラス
GcPdfGraphicsExt メンバ
オーバーロード一覧