[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfGraphics

GcPdfGraphics クラス

PDF ページ内の描画に使用できるグラフィックオブジェクトを表します。

原点(0,0)はページの左上隅で、軸は右方向と下方向に増加します。

デフォルトでは、すべての座標とサイズがプリンタポイント(1/72 インチ)で表されます。 これは、Resolution プロパティを使用して変更できます。

継承
GcPdfGraphics
実装
名前空間: GrapeCity.Documents.Pdf
アセンブリ: DS.Documents.Pdf.dll
構文
public class GcPdfGraphics : GcGraphics, IDisposable
Public Class GcPdfGraphics
    Inherits GcGraphics
    Implements IDisposable

プロパティ

名前 説明
CanvasSize

描画領域のサイズを取得します。

Doc

このグラフィックを所有する GcPdfDocument オブジェクトを取得します。

Features

内部使用のため。 このグラフィックスがサポートする機能を取得します。

ImageCanBeDisposedAfterDrawing

内部使用のため。

Resolution

現在のグラフィックの水平解像度を取得します。

SoftMask

現在のソフトマスクを定義する SoftMaskBase オブジェクトを取得または設定します。

TextLayoutHandler

TextLayout がレンダリングされたときに GcPdfGraphics から通知を受け取る ITextLayoutHandler オブジェクトを取得または設定します。

Transform

現在の変換マトリックスを取得または設定します。デフォルトは Identity(単位行列)です。

メソッド

名前 説明
BeginLayer(OptionalContentGroup)

指定されたlayerへのレンダリングを開始します。 そのレイヤーは、現在のドキュメントのOptionalContentGroupsコレクションにすでに存在している必要があります。

指定したレイヤーへのレンダリングを終了するには、EndLayer()メソッドを呼び出す必要があります。

BeginLayer(OptionalContentMembership)

指定されたlayerへのレンダリングを開始します。

指定したレイヤーへのレンダリングを終了するには、EndLayer()メソッドを呼び出す必要があります。

BeginLayer(string)

layerNameで指定されたレイヤーへのレンダリングを開始します。 その名前は、現在のドキュメントのOptionalContentGroupsコレクションにある既存のOptionalContentGroupNameと一致する必要があります。

指定したレイヤーへのレンダリングを終了するには、EndLayer()メソッドを呼び出す必要があります。

BeginMarkedContent(TagBase)

コンテンツストリームに(BMCまたはBDC)演算子を書き込みます。BeginMarkedContent(string) の各呼び出しは EndMarkedContent() で囲む必要があります。

BeginMarkedContent(string)

コンテンツストリームに(BMCまたはBDC)演算子を書き込みます。BeginMarkedContent(string) の各呼び出しは EndMarkedContent() で囲む必要があります。

Composite(IGcTransparencyGroup, Rectangle, Point, float?)

内部使用のため。 この GcGraphicsCreateTransparencyGroup(Rectangle, bool, bool, bool) メソッドで作成された GrapeCity.Documents.Drawing.IGcTransparencyGroup を合成します。

CreateTransparencyGroup(Rectangle, bool, bool, bool)

内部使用のため。 このグラフィックスと互換性のある GrapeCity.Documents.Drawing.IGcTransparencyGroup を作成します。 このグループは後で以下の用途で使用できます: 1) Composite(IGcTransparencyGroup, Rectangle, Point, float?) メソッドを使用してグラフィックスと合成する 2) CreateTransparencyMask(IGcTransparencyGroup, TransparencyMaskType, Rectangle, IGcTransparencyMaskFilter) メソッドを使用してこのグループから透過マスクを作成する 注意!透過グループが IDisposable インターフェイスをサポートしている場合、使用後に自動的に破棄されます。

CreateTransparencyMask(IGcTransparencyGroup, TransparencyMaskType, Rectangle, IGcTransparencyMaskFilter)

内部使用のため。 GrapeCity.Documents.Drawing.IGcTransparencyGroup から透過マスクを作成します。 このマスクは SetTransparencyMask(object) メソッドを使用してこのグラフィックスに指定できます。 注意!透過マスクが IDisposable インターフェイスをサポートしている場合、使用後に自動的に破棄されます。

Dispose(bool)

現在のグラフィックスを破棄します。

DrawForm(FormXObject, RectangleF, RectangleF?, ImageAlign)

指定された境界と画像の配置を使用して FormXObject を描画します。

DrawForm(FormXObject, RectangleF, RectangleF?, ImageAlign, out RectangleF[])

指定された境界と画像の配置を使用して FormXObject を描画します。

出力パラメータ imageBounds は、描画されたオブジェクトの実際の境界を受け取ります。

DrawGlyphs(Font, ushort[], float[], string[], int, Color, Matrix3x2)

内部使用。

DrawVertGlyphs(Font, ushort[], float[], float[], float[], string[], int, Color, Matrix3x2)

内部使用。

EndLayer()

BeginLayer(string)BeginLayer(OptionalContentGroup)、またはBeginLayer(OptionalContentMembership)への前の呼び出しで指定されたレイヤーへのレンダリングを終了します。

EndMarkedContent()

Ends Marked Content。コンテンツストリームに EMC 演算子を書き込みます。

GetBlendMode()

内部使用のため。 現在のブレンドモードを返します。

InternalCreateClipRegion(IPath)

内部使用のため。

InternalCreateClipRegion(RectangleF)

内部使用のため。

InternalCreatePath()

内部使用のため。

InternalDrawEllipse(RectangleF, Pen)

内部使用のため。

InternalDrawImage(RectangleF, IImage, float)

内部使用のため。

InternalDrawLine(PointF, PointF, Pen)

内部使用のため。

InternalDrawLines(PointF[], Pen)

内部使用のため。

InternalDrawPath(IPath, Pen)

内部使用のため。

InternalDrawPolygon(PointF[], Pen)

内部使用のため。

InternalDrawRectangle(RectangleF, Pen)

内部使用のため。

InternalDrawRoundRect(RectangleF, float, float, Pen)

内部使用のため。

InternalDrawTextLayout(TextLayout, PointF)

内部使用のため。

InternalFillEllipse(RectangleF, Brush, RectangleF?, Matrix3x2?)

内部使用のため。

InternalFillEllipse(RectangleF, Color)

内部使用のため。

InternalFillPath(IPath, Brush, RectangleF?, Matrix3x2?)

内部使用のため。

InternalFillPath(IPath, Color)

内部使用のため。

InternalFillPolygon(PointF[], Brush, FillMode, RectangleF?, Matrix3x2?)

内部使用のため。

InternalFillPolygon(PointF[], Color, FillMode)

内部使用のため。

InternalFillRectangle(RectangleF, Brush, RectangleF?, Matrix3x2?)

内部使用のため。

InternalFillRectangle(RectangleF, Color)

内部使用のため。

InternalFillRoundRect(RectangleF, float, float, Brush, RectangleF?, Matrix3x2?)

内部使用のため。

InternalFillRoundRect(RectangleF, float, float, Color)

内部使用のため。

InternalRemoveClip(IClipRegion)

内部使用のため。

InternalSetClip(IClipRegion)

内部使用のため。

IsBlendModeSupported(BlendMode)

このグラフィックス実装が指定されたブレンドモードをサポートするかどうかを示します。

次のブレンドモードがGcPdfGraphicsでサポートされています。

IsInterpolationModeSupported(InterpolationMode)

このグラフィックス実装が指定された補間モードをサポートするかどうかを示します。

NearestNeighbor は、GcPdfGraphics でサポートされる唯一の補間モードです。

PopTransparencyLayer()

最後のPushTransparencyLayer(RectangleF?, float) 呼び出しによって作成された透明レイヤーへの描画操作のリダイレクトを停止します。

PushTransparencyLayer(RectangleF?, float)

PopTransparencyLayer() が呼び出されるまで、後続のすべての描画操作を受け取るため、 透明レイヤーを GcPdfGraphics に追加します。

SetBlendMode(BlendMode)

内部使用のため。 現在のブレンドモードを設定します。

SetTransparencyMask(object)

内部使用のため。 後続の描画操作のために透過マスクを設定します。mask はIGcGraphicsLayer.CreateTransparencyMask()で作成されました。 注意!mask はnullにすることができ、その場合マスクは削除されます。

拡張メソッド