[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfGraphics.DrawForm

DrawForm Method

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

Draws a FormXObject using specified bounds and image alignment.

The output parameter imageBounds receives the actual bounds of the drawn object(s).

Declaration
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align, out RectangleF[] imageBounds)
Public Sub DrawForm(fxo As FormXObject, destBounds As RectangleF, clipBounds As RectangleF?, align As ImageAlign, ByRef imageBounds As RectangleF())
Parameters
Type Name Description
FormXObject fxo

The FormXObject to draw.

RectangleF destBounds

The destination rectangle.

RectangleF? clipBounds

The clipping rectangle, or null for no clipping.

ImageAlign align

The image alignment.

RectangleF[] imageBounds

OUT: The actual bounds of the drawn image(s) (can be more than one if the image is tiled).

DrawForm(FormXObject, RectangleF, RectangleF?, ImageAlign)

Draws a FormXObject using specified bounds and image alignment.

Declaration
public void DrawForm(FormXObject fxo, RectangleF destBounds, RectangleF? clipBounds, ImageAlign align)
Public Sub DrawForm(fxo As FormXObject, destBounds As RectangleF, clipBounds As RectangleF?, align As ImageAlign)
Parameters
Type Name Description
FormXObject fxo

The FormXObject to draw.

RectangleF destBounds

The destination rectangle.

RectangleF? clipBounds

The clipping rectangle, or null for no clipping.

ImageAlign align

The image alignment.